class TokenizerExtension implements PreconditionInterface (View source)

Properties

protected FunctionInspector $functionInspector

The FunctionInspector instance.

Methods

__construct(FunctionInspector $functionInspector)

Initialize the instance.

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

bool
isOptional()

Is this an optional precondition?

performCheck()

Get the precondition result.

Details

__construct(FunctionInspector $functionInspector)

Initialize the instance.

Parameters

FunctionInspector $functionInspector

the FunctionInspector instance

string getName()

Get the precondition name.

Return Value

string

See also

PreconditionInterface::getName

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

See also

PreconditionInterface::getUniqueIdentifier

bool isOptional()

Is this an optional precondition?

Return Value

bool

See also

PreconditionInterface::isOptional

PreconditionResult performCheck()

Get the precondition result.