public function IdenticalValueToken::__toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php \Prophecy\Argument\Token\IdenticalValueToken::__toString()
Returns string representation for token.
Return value
string
Overrides TokenInterface::__toString
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument/ Token/ IdenticalValueToken.php, line 66
Class
- IdenticalValueToken
- Identical value token.
Namespace
Prophecy\Argument\TokenCode
public function __toString() {
if (null === $this->string) {
$this->string = sprintf('identical(%s)', $this->util
->stringify($this->value));
}
return $this->string;
}