W3cubDocs

/Laravel 8

CompilesStacks

trait CompilesStacks (View source)

Methods

string compileStack(string $expression)

Compile the stack statements into the content.

string compilePush(string $expression)

Compile the push statements into valid PHP.

string compileEndpush()

Compile the end-push statements into valid PHP.

string compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

string compileEndprepend()

Compile the end-prepend statements into valid PHP.

Details

protected string compileStack(string $expression)

Compile the stack statements into the content.

Parameters

string $expression

Return Value

string

protected string compilePush(string $expression)

Compile the push statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileEndpush()

Compile the end-push statements into valid PHP.

Return Value

string

protected string compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileEndprepend()

Compile the end-prepend statements into valid PHP.

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