Documentation

TokenInterface
in

Argument token interface.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

__toString()  : string
Returns string representation for token.
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.

Methods

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

Search results