Documentation

LogicalNotToken
in package
implements TokenInterface

Logical NOT token.

Tags
author

Boris Mikhaylov kaguxmail@gmail.com

Interfaces, Classes and Traits

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

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

Search results