public string compileEcho (array $statement) Compiles a ‘{{‘ ‘}}’ statement returning PHP code
public addFilter (mixed $name, mixed $definition) Register a new filter in the compiler
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 compileReturn (array $statement) Compiles a “return” statement returning PHP code
public getCompiledTemplatePath () Returns the path to the last compiled template
public compileDo (array $statement) Compiles a “do” statement returning PHP code
public getDI () Returns the internal dependency injector
public getExtensions () Returns the list of extensions registered in Volt
public compileAutoEscape (array $statement, mixed $extendsMode) Compiles a “autoescape” statement returning
Page 2 of 4