CompilesLayouts
trait CompilesLayouts
Constants
| protected LAST_SECTION_CONTEXT_KEY |
The name of the last section started during the current compile pass. |
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 19
protected string
compileExtends(string $expression)
Compile the extends statements into valid PHP.
at line 33
protected string
compileExtendsFirst(string $expression)
Compile the extends-first statements into valid PHP.
at line 47
protected string
compileSection(string $expression)
Compile the section statements into valid PHP.
at line 57
protected string
compileParent()
Replace the @parent directive to a placeholder.
at line 68
protected string
compileYield(string $expression)
Compile the yield statements into valid PHP.
at line 76
protected string
compileShow()
Compile the show statements into valid PHP.
at line 84
protected string
compileAppend()
Compile the append statements into valid PHP.
at line 92
protected string
compileOverwrite()
Compile the overwrite statements into valid PHP.
at line 100
protected string
compileStop()
Compile the stop statements into valid PHP.
at line 108
protected string
compileEndsection()
Compile the end-section statements into valid PHP.