NotInArrayToken
in package
implements
TokenInterface
Check if values is not in array
Tags
Interfaces, Classes, Traits and Enums
- TokenInterface
- Argument token interface.
Table of Contents
- $strict : mixed
- $token : mixed
- __construct() : mixed
- __toString() : string
- Returns string representation for token.
- isLast() : bool
- Returns false.
- scoreArgument() : bool|int
- Return scores 8 score if argument is in array.
Properties
$strict
private
mixed
$strict
$token
private
mixed
$token
= array()
Methods
__construct()
public
__construct(array<string|int, mixed> $arguments[, bool $strict = true ]) : mixed
Parameters
- $arguments : array<string|int, mixed>
-
tokens
- $strict : bool = true
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()
Return scores 8 score if argument is in array.
public
scoreArgument( $argument) : bool|int