final public mixed fireExtensionEvent (string $name, [array $arguments]) Fires an event to registered extensions
final public expression (array $expr) Resolves an expression node in an AST volt tree
public compileString (mixed $viewCode, [mixed $extendsMode]) Compiles a template into a string echo $compiler->compileString('{{ "hello world" }}');
public compileSet (array $statement) Compiles a “set” statement returning PHP code
public compileReturn (array $statement) Compiles a “return” statement returning PHP code
public compileMacro (array $statement, mixed $extendsMode) Compiles macros
public compileInclude (array $statement) Compiles a ‘include’ statement returning PHP code
public compileIf (array $statement, [mixed $extendsMode]) Compiles a ‘if’ statement returning PHP code
public compileForElse () Generates a ‘forelse’ PHP code
public compileForeach (array $statement, [mixed $extendsMode]) Compiles a “foreach” intermediate code representation into plain PHP code
Page 56 of 382