ArrayEveryEntryToken
in package
implements
TokenInterface
Array every entry token.
Tags
Interfaces, Classes, Traits and Enums
- TokenInterface
- Argument token interface.
Table of Contents
- $value : TokenInterface
- __construct() : mixed
- __toString() : string
- Returns string representation for token.
- getValue() : TokenInterface
- isLast() : bool|int
- Returns true if this token prevents check of other tokens (is last one).
- scoreArgument() : bool|int
- Calculates token match score for provided argument.
Properties
$value
private
TokenInterface
$value
Methods
__construct()
public
__construct(mixed $value) : mixed
Parameters
- $value : mixed
-
exact value or token
Return values
mixed —__toString()
Returns string representation for token.
public
__toString() : string
Return values
string —getValue()
public
getValue() : TokenInterface
Return values
TokenInterface —isLast()
Returns true if this token prevents check of other tokens (is last one).
public
isLast() : bool|int
Return values
bool|int —scoreArgument()
Calculates token match score for provided argument.
public
scoreArgument(mixed $argument) : bool|int
Parameters
- $argument : mixed