프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$lessc | lessc | Reference to LESS compiler |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
getEnvironment ( boolean $reset = false ) | Get LESS compiler (if undefined, set it with path for @import directives) |
public __construct ( array $options = [] ) : |
||
$options | array | Processor options |
리턴 |
protected getEnvironment ( boolean $reset = false ) | ||
$reset | boolean |