LogicalAndToken
in package
implements
TokenInterface
Logical AND token.
Tags
Interfaces, Classes, Traits and Enums
- TokenInterface
- Argument token interface.
Table of Contents
- $tokens : mixed
- __construct() : mixed
- __toString() : string
- Returns string representation for token.
- isLast() : bool
- Returns false.
- scoreArgument() : bool|int
- Scores maximum score from scores returned by tokens for this argument if all of them score.
Properties
$tokens
private
mixed
$tokens
= array()
Methods
__construct()
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
-
exact values or tokens
Return values
mixed —__toString()
Returns string representation for token.
public
__toString() : string
Return values
string —isLast()
Returns false.
public
isLast() : bool
Return values
bool —scoreArgument()
Scores maximum score from scores returned by tokens for this argument if all of them score.
public
scoreArgument( $argument) : bool|int