CompilesEchos

trait CompilesEchos (View source)

Methods

string compileEchos(string $value)

Compile Blade echos into valid PHP.

array getEchoMethods()

Get the echo methods in the proper order for compilation.

string compileRawEchos(string $value)

Compile the "raw" echo statements.

string compileRegularEchos(string $value)

Compile the "regular" echo statements.

string compileEscapedEchos(string $value)

Compile the escaped echo statements.

Details

string compileEchos(string $value)

Compile Blade echos into valid PHP.

Parameters

string $value

Return Value

string

protected array getEchoMethods()

Get the echo methods in the proper order for compilation.

Return Value

array

protected string compileRawEchos(string $value)

Compile the "raw" echo statements.

Parameters

string $value

Return Value

string

protected string compileRegularEchos(string $value)

Compile the "regular" echo statements.

Parameters

string $value

Return Value

string

protected string compileEscapedEchos(string $value)

Compile the escaped echo statements.

Parameters

string $value

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/CompilesEchos.html