trait CompilesStacks

Methods

string
compileStack(string $expression)

Compile the stack statements into the content.

string
compilePush(string $expression)

Compile the push statements into valid PHP.

string
compileEndpush()

Compile the end-push statements into valid PHP.

string
compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

string
compileEndprepend()

Compile the end-prepend statements into valid PHP.

Details

at line 13
protected string compileStack(string $expression)

Compile the stack statements into the content.

Parameters

string $expression

Return Value

string

at line 24
protected string compilePush(string $expression)

Compile the push statements into valid PHP.

Parameters

string $expression

Return Value

string

at line 34
protected string compileEndpush()

Compile the end-push statements into valid PHP.

Return Value

string

at line 45
protected string compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

Parameters

string $expression

Return Value

string

at line 55
protected string compileEndprepend()

Compile the end-prepend statements into valid PHP.

Return Value

string