LogicalNotToken
in package
implements
TokenInterface
Logical NOT token.
Tags
Interfaces, Classes, Traits and Enums
- TokenInterface
- Argument token interface.
Table of Contents
- $token : TokenInterface
- __construct() : mixed
- __toString() : string
- Returns string representation for token.
- getOriginatingToken() : TokenInterface
- Returns originating token.
- isLast() : bool|int
- Returns true if preset token is last.
- scoreArgument() : bool|int
- Scores 4 when preset token does not match the argument.
Properties
$token
private
TokenInterface
$token
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 —getOriginatingToken()
Returns originating token.
public
getOriginatingToken() : TokenInterface
Return values
TokenInterface —isLast()
Returns true if preset token is last.
public
isLast() : bool|int
Return values
bool|int —scoreArgument()
Scores 4 when preset token does not match the argument.
public
scoreArgument( $argument) : bool|int