CompilesLayouts
trait CompilesLayouts (View source)
Properties
protected string | $lastSection | The name of the last section that was started. |
Methods
string | compileExtends(string $expression) Compile the extends statements into valid PHP. | |
string | compileSection(string $expression) Compile the section statements into valid PHP. | |
string | compileParent() Replace the @parent directive to a placeholder. | |
string | compileYield(string $expression) Compile the yield statements into valid PHP. | |
string | compileShow() Compile the show statements into valid PHP. | |
string | compileAppend() Compile the append statements into valid PHP. | |
string | compileOverwrite() Compile the overwrite statements into valid PHP. | |
string | compileStop() Compile the stop statements into valid PHP. | |
string | compileEndsection() Compile the end-section statements into valid PHP. |
Details
protected string compileExtends(string $expression)
Compile the extends statements into valid PHP.
protected string compileSection(string $expression)
Compile the section statements into valid PHP.
protected string compileParent()
Replace the @parent directive to a placeholder.
protected string compileYield(string $expression)
Compile the yield statements into valid PHP.
protected string compileShow()
Compile the show statements into valid PHP.
protected string compileAppend()
Compile the append statements into valid PHP.
protected string compileOverwrite()
Compile the overwrite statements into valid PHP.
protected string compileStop()
Compile the stop statements into valid PHP.
protected string compileEndsection()
Compile the end-section statements into valid PHP.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/View/Compilers/Concerns/CompilesLayouts.html