CompilesStacks
trait CompilesStacks (View source)
Methods
Compile the stack statements into the content.
Compile the push statements into valid PHP.
Compile the push-once statements into valid PHP.
Compile the end-push statements into valid PHP.
Compile the end-push-once statements into valid PHP.
Compile the prepend statements into valid PHP.
Compile the prepend-once statements into valid PHP.
Compile the end-prepend statements into valid PHP.
Compile the end-prepend-once statements into valid PHP.
Details
protected string
compileStack(string $expression)
Compile the stack statements into the content.
protected string
compilePush(string $expression)
Compile the push statements into valid PHP.
protected string
compilePushOnce(string $expression)
Compile the push-once statements into valid PHP.
protected string
compileEndpush()
Compile the end-push statements into valid PHP.
protected string
compileEndpushOnce()
Compile the end-push-once statements into valid PHP.
protected string
compilePrepend(string $expression)
Compile the prepend statements into valid PHP.
protected string
compilePrependOnce(string $expression)
Compile the prepend-once statements into valid PHP.
protected string
compileEndprepend()
Compile the end-prepend statements into valid PHP.
protected string
compileEndprependOnce()
Compile the end-prepend-once statements into valid PHP.