You are here

public function StringContainsToken::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php \Prophecy\Argument\Token\StringContainsToken::__toString()

Returns string representation for token.

Return value

string

Overrides TokenInterface::__toString

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php, line 63

Class

StringContainsToken
String contains token.

Namespace

Prophecy\Argument\Token

Code

public function __toString() {
  return sprintf('contains("%s")', $this->value);
}