|
file-fetcher
|
Value type token.
Public Member Functions | |
| __construct ($type) | |
| scoreArgument ($argument) | |
| isLast () | |
| __toString () | |
| Prophecy\Argument\Token\TypeToken::__construct | ( | $type | ) |
| string | $type |
| Prophecy\Argument\Token\TypeToken::__toString | ( | ) |
Returns string representation for token.
Implements Prophecy\Argument\Token\TokenInterface.
| Prophecy\Argument\Token\TypeToken::isLast | ( | ) |
| Prophecy\Argument\Token\TypeToken::scoreArgument | ( | $argument | ) |
Scores 5 if argument has the same type this token was constructed with.
| $argument |
Implements Prophecy\Argument\Token\TokenInterface.
1.8.17