Property | Type | Description | |
---|---|---|---|
$lessc | lessc | Reference to LESS compiler |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) : |
If configuration options are passes then twig environment is initialized right away | |
render ( string $tpl, array $vars = [] ) : string | Parse the incoming template |
Method | Description | |
---|---|---|
getEnvironment ( boolean $reset = false ) | Get LESS compiler (if undefined, set it with path for @import directives) |
public __construct ( array $options = [] ) : |
||
$options | array | Processor options |
return |
protected getEnvironment ( boolean $reset = false ) | ||
$reset | boolean |