You are here

public function LogicalNotToken::__toString in Zircon Profile 8.0

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

Returns string representation for token.

Return value

string

Overrides TokenInterface::__toString

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php, line 69

Class

LogicalNotToken
Logical NOT token.

Namespace

Prophecy\Argument\Token

Code

public function __toString() {
  return sprintf('not(%s)', $this->token);
}