public addFunction (mixed $name, mixed $definition) Register a new function in the compiler
public setOption (string $option, mixed $value) Sets a single compiler option
public compileReturn (array $statement) Compiles a “return” statement returning PHP code
public getExtensions () Returns the list of extensions registered in Volt
public compileDo (array $statement) Compiles a “do” statement returning PHP code
public getCompiledTemplatePath () Returns the path to the last compiled template
public compileSet (array $statement) Compiles a “set” statement returning PHP code
public compileIf (array $statement, [mixed $extendsMode]) Compiles a ‘if’ statement returning PHP code
public getDI () Returns the internal dependency injector
public compileAutoEscape (array $statement, mixed $extendsMode) Compiles a “autoescape” statement returning
Page 2 of 4