Method | Description | |
---|---|---|
__construct ( $params = [] ) | ||
addGlobal ( string $name, mixed $value ) | Registers a Global | |
display ( string $view, array $params = [] ) | Renders Twig Template and Set Output | |
getTwig ( ) : Twig_Environment | ||
render ( string $view, array $params = [] ) : string | Renders Twig Template and Returns as String | |
safe_anchor ( string $uri = '', string $title = '', array $attributes = [] ) : string |
Method | Description | |
---|---|---|
addFunctions ( ) | ||
createTwig ( ) | ||
resetTwig ( ) | ||
setLoader ( $loader ) |