public compileForElse () Generates a ‘forelse’ PHP code
public setOption (string $option, mixed $value) Sets a single compiler option
public addFunction (mixed $name, mixed $definition) Register a new function in the compiler
public array parse (string $viewCode) Parses a Volt template returning its intermediate representation
public compileReturn (array $statement) Compiles a “return” statement returning PHP code
public compileDo (array $statement) Compiles a “do” statement returning PHP code
public getExtensions () Returns the list of extensions registered in Volt
public render (mixed $templatePath, mixed $params, [mixed $mustClean]) Renders a view using the
public compileIf (array $statement, [mixed $extendsMode]) Compiles a ‘if’ statement returning PHP code
public sort (array $value) Sorts an array
Page 2 of 6