Documentation

ArrayEveryEntryToken
in package
implements TokenInterface

Array every entry token.

Tags
author

Adrien Brault adrien.brault@gmail.com

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

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

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
Return values
bool|int

Search results