Lggr
|
Public Member Functions | |
__construct ($value) | |
scoreArgument ($argument) | |
isLast () | |
__toString () | |
Array elements count token.
Prophecy\Argument\Token\ArrayCountToken::__construct | ( | $value | ) |
integer | $value |
Prophecy\Argument\Token\ArrayCountToken::__toString | ( | ) |
Returns string representation for token.
Implements Prophecy\Argument\Token\TokenInterface.
Prophecy\Argument\Token\ArrayCountToken::isLast | ( | ) |
Prophecy\Argument\Token\ArrayCountToken::scoreArgument | ( | $argument | ) |
Scores 6 when argument has preset number of elements.
$argument |
Implements Prophecy\Argument\Token\TokenInterface.