trait Illuminate / View / Compilers / Concerns / CompilesLayouts

CompilesLayouts

Properties

protected

$lastSection string

The name of the last section that was started.

Default: null

Methods

protected

compileExtends ( $expression ) : string

Compile the extends statements into valid PHP.

Parameters

  • $expression string
protected

compileExtendsFirst ( $expression ) : string

Compile the extends-first statements into valid PHP.

Parameters

  • $expression string
protected

compileSection ( $expression ) : string

Compile the section statements into valid PHP.

Parameters

  • $expression string
protected

compileParent ( ) : string

Replace the @parent directive to a placeholder.

protected

compileYield ( $expression ) : string

Compile the yield statements into valid PHP.

Parameters

  • $expression string
protected

compileShow ( ) : string

Compile the show statements into valid PHP.

protected

compileAppend ( ) : string

Compile the append statements into valid PHP.

protected

compileOverwrite ( ) : string

Compile the overwrite statements into valid PHP.

protected

compileStop ( ) : string

Compile the stop statements into valid PHP.

protected

compileEndsection ( ) : string

Compile the end-section statements into valid PHP.