file-fetcher
|
Approximate value token
Public Member Functions | |
__construct ($value, $precision=0) | |
scoreArgument ($argument) | |
isLast () | |
__toString () | |
Prophecy\Argument\Token\ApproximateValueToken::__construct | ( | $value, | |
$precision = 0 |
|||
) |
Prophecy\Argument\Token\ApproximateValueToken::__toString | ( | ) |
Returns string representation for token.
Implements Prophecy\Argument\Token\TokenInterface.
Prophecy\Argument\Token\ApproximateValueToken::isLast | ( | ) |
{Returns true if this token prevents check of other tokens (is last one).
Implements Prophecy\Argument\Token\TokenInterface.
Prophecy\Argument\Token\ApproximateValueToken::scoreArgument | ( | $argument | ) |
{Calculates token match score for provided argument.
$argument |
Implements Prophecy\Argument\Token\TokenInterface.