Documentation

CompilesLayouts

Table of Contents

$lastSection  : string
The name of the last section that was started.
compileAppend()  : string
Compile the append statements into valid PHP.
compileEndsection()  : string
Compile the end-section statements into valid PHP.
compileExtends()  : string
Compile the extends statements into valid PHP.
compileOverwrite()  : string
Compile the overwrite statements into valid PHP.
compileParent()  : string
Replace the @parent directive to a placeholder.
compileSection()  : string
Compile the section statements into valid PHP.
compileShow()  : string
Compile the show statements into valid PHP.
compileStop()  : string
Compile the stop statements into valid PHP.
compileYield()  : string
Compile the yield statements into valid PHP.

Properties

$lastSection

The name of the last section that was started.

protected string $lastSection

Methods

compileAppend()

Compile the append statements into valid PHP.

protected compileAppend() : string
Return values
string

compileEndsection()

Compile the end-section statements into valid PHP.

protected compileEndsection() : string
Return values
string

compileExtends()

Compile the extends statements into valid PHP.

protected compileExtends(string $expression) : string
Parameters
$expression : string
Return values
string

compileOverwrite()

Compile the overwrite statements into valid PHP.

protected compileOverwrite() : string
Return values
string

compileParent()

Replace the @parent directive to a placeholder.

protected compileParent() : string
Return values
string

compileSection()

Compile the section statements into valid PHP.

protected compileSection(string $expression) : string
Parameters
$expression : string
Return values
string

compileShow()

Compile the show statements into valid PHP.

protected compileShow() : string
Return values
string

compileStop()

Compile the stop statements into valid PHP.

protected compileStop() : string
Return values
string

compileYield()

Compile the yield statements into valid PHP.

protected compileYield(string $expression) : string
Parameters
$expression : string
Return values
string

Search results