file-fetcher
|
Identical value token.
Public Member Functions | |
__construct ($value, StringUtil $util=null) | |
scoreArgument ($argument) | |
isLast () | |
__toString () | |
Prophecy\Argument\Token\IdenticalValueToken::__construct | ( | $value, | |
StringUtil | $util = null |
||
) |
Initializes token.
mixed | $value | |
StringUtil | $util |
Prophecy\Argument\Token\IdenticalValueToken::__toString | ( | ) |
Returns string representation for token.
Implements Prophecy\Argument\Token\TokenInterface.
Prophecy\Argument\Token\IdenticalValueToken::isLast | ( | ) |
Prophecy\Argument\Token\IdenticalValueToken::scoreArgument | ( | $argument | ) |
Scores 11 if argument matches preset value.
$argument |
Implements Prophecy\Argument\Token\TokenInterface.