CompilesComponents
trait CompilesComponents (View source)
Properties
static protected array | $componentHashStack | The component name hash stack. |
Methods
Compile the component statements into valid PHP.
Get a new component hash for a component name.
Compile a class component opening.
Compile the end-component statements into valid PHP.
Compile the end-component statements into valid PHP.
Compile the slot statements into valid PHP.
Compile the end-slot statements into valid PHP.
Compile the component-first statements into valid PHP.
Compile the end-component-first statements into valid PHP.
Compile the prop statement into valid PHP.
Compile the aware statement into valid PHP.
Sanitize the given component attribute value.
Details
protected string
compileComponent(string $expression)
Compile the component statements into valid PHP.
static string
compileClassComponentOpening(string $component, string $alias, string $data, string $hash)
Compile a class component opening.
protected string
compileComponentFirst(string $expression)
Compile the component-first statements into valid PHP.
protected string
compileEndComponentFirst()
Compile the end-component-first statements into valid PHP.