Method |
Description |
|
__construct ( IStorage $storage = null ) |
|
|
disableCache ( ) |
Disables caching. |
|
enableCache ( ) |
Enables caching. |
|
evaluate ( $content, array $contentVariables = [] ) |
|
|
getCompiler ( ) : Compiler |
Returns a compiler object. |
|
getFilterContainer ( ) : FilterContainer |
Returns a filter container object. Initializes the filter container with
default filters if it's null. |
|
getNodeFactory ( ) : NodeFactory |
Returns a node factory object. |
|
isCacheEnabled ( ) : boolean |
Returns true if caching is enabled. |
|
parseFile ( string $fileName ) |
Parses a haml file and returns the compile result. |
|
setCompiler ( Compiler $compiler ) |
Sets a compiler. |
|
setFilterContainer ( FilterContainer $container ) |
Sets a filter container and updates the node factory to use it. |
|
setNodeFactory ( NodeFactory $factory ) |
Sets a node factory. |
|