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