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 compileForElse () Generates a ‘forelse’ PHP code
public compileCache (array $statement, [mixed $extendsMode]) Compiles a “cache” statement returning PHP code
public sort (array $value) Sorts an array
public getCompiledTemplatePath () Returns the path to the last compiled template
public render (mixed $templatePath, mixed $params, [mixed $mustClean]) Renders a view using the
public compileSet (array $statement) Compiles a “set” statement returning PHP code
public getDI () Returns the internal dependency injector
public compileDo (array $statement) Compiles a “do” statement returning PHP code
Page 2 of 6