CompilesLayouts
trait CompilesLayouts (View source)
Properties
| protected string | $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
        
                    protected        string
    compileExtends(string $expression)
        
    
    Compile the extends statements into valid PHP.
        
                    protected        string
    compileExtendsFirst(string $expression)
        
    
    Compile the extends-first 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.