W3cubDocs

/Laravel 5.8

CompilesIncludes

trait CompilesIncludes (View source)

Methods

string compileEach(string $expression)

Compile the each statements into valid PHP.

string compileInclude(string $expression)

Compile the include statements into valid PHP.

string compileIncludeIf(string $expression)

Compile the include-if statements into valid PHP.

string compileIncludeWhen(string $expression)

Compile the include-when statements into valid PHP.

string compileIncludeFirst(string $expression)

Compile the include-first statements into valid PHP.

Details

protected string compileEach(string $expression)

Compile the each statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileInclude(string $expression)

Compile the include statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileIncludeIf(string $expression)

Compile the include-if statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileIncludeWhen(string $expression)

Compile the include-when statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileIncludeFirst(string $expression)

Compile the include-first 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/5.8/Illuminate/View/Compilers/Concerns/CompilesIncludes.html