trait CompilesStacks (View source)

Methods

string
compileStack(string $expression)

Compile the stack statements into the content.

string
compilePush(string $expression)

Compile the push statements into valid PHP.

string
compilePushOnce(string $expression)

Compile the push-once statements into valid PHP.

string
compileEndpush()

Compile the end-push statements into valid PHP.

string
compileEndpushOnce()

Compile the end-push-once statements into valid PHP.

string
compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

string
compilePrependOnce(string $expression)

Compile the prepend-once statements into valid PHP.

string
compileEndprepend()

Compile the end-prepend statements into valid PHP.

string
compileEndprependOnce()

Compile the end-prepend-once statements into valid PHP.

Details

protected string compileStack(string $expression)

Compile the stack statements into the content.

Parameters

string $expression

Return Value

string

protected string compilePush(string $expression)

Compile the push statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compilePushOnce(string $expression)

Compile the push-once statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileEndpush()

Compile the end-push statements into valid PHP.

Return Value

string

protected string compileEndpushOnce()

Compile the end-push-once statements into valid PHP.

Return Value

string

protected string compilePrepend(string $expression)

Compile the prepend statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compilePrependOnce(string $expression)

Compile the prepend-once statements into valid PHP.

Parameters

string $expression

Return Value

string

protected string compileEndprepend()

Compile the end-prepend statements into valid PHP.

Return Value

string

protected string compileEndprependOnce()

Compile the end-prepend-once statements into valid PHP.

Return Value

string