Documentation

CallbackToken
in package
implements TokenInterface

Callback-verified token.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Interfaces, Classes, Traits and Enums

TokenInterface
Argument token interface.

Table of Contents

$callback  : mixed
__construct()  : mixed
Initializes token.
__toString()  : string
Returns string representation for token.
isLast()  : bool
Returns false.
scoreArgument()  : bool|int
Scores 7 if callback returns true, false otherwise.

Properties

Methods

__toString()

Returns string representation for token.

public __toString() : string
Return values
string

isLast()

Returns false.

public isLast() : bool
Return values
bool

scoreArgument()

Scores 7 if callback returns true, false otherwise.

public scoreArgument( $argument) : bool|int
Parameters
$argument :
Return values
bool|int

Search results