Documentation

LogicalAndToken
in package
implements TokenInterface

Logical AND token.

Tags
author

Boris Mikhaylov kaguxmail@gmail.com

Interfaces, Classes and Traits

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

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
Parameters
$argument :
Return values
bool|int

Search results