CompilesLayouts
trait CompilesLayouts
Properties
| protected string|null | $lastSection | The name of the last section that was started. |
Methods
Compile the extends statements into valid PHP.
Compile the extends-first statements into valid PHP.
Compile the section statements into valid PHP.
Replace the @parent directive to a placeholder.
Compile the yield statements into valid PHP.
Compile the show statements into valid PHP.
Compile the append statements into valid PHP.
Compile the overwrite statements into valid PHP.
Compile the stop statements into valid PHP.
Compile the end-section statements into valid PHP.
Details
at line 17
protected string
compileExtends(string $expression)
Compile the extends statements into valid PHP.
at line 31
protected string
compileExtendsFirst(string $expression)
Compile the extends-first statements into valid PHP.
at line 45
protected string
compileSection(string $expression)
Compile the section statements into valid PHP.
at line 55
protected string
compileParent()
Replace the @parent directive to a placeholder.
at line 65
protected string
compileYield(string $expression)
Compile the yield statements into valid PHP.
at line 73
protected string
compileShow()
Compile the show statements into valid PHP.
at line 81
protected string
compileAppend()
Compile the append statements into valid PHP.
at line 89
protected string
compileOverwrite()
Compile the overwrite statements into valid PHP.
at line 97
protected string
compileStop()
Compile the stop statements into valid PHP.
at line 105
protected string
compileEndsection()
Compile the end-section statements into valid PHP.