trait CompilesErrors (View source)

Methods

string
compileError(string $expression)

Compile the error statements into valid PHP.

string
compileEnderror(string $expression)

Compile the enderror statements into valid PHP.

Details

protected string compileError(string $expression)

Compile the error statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileEnderror(string $expression)

Compile the enderror statements into valid PHP.

Parameters

string $expression

Return Value

string