W3cubDocs

/Laravel 8

CompilesErrors

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Compilers/Concerns/CompilesErrors.html