PHP Class Jade\Compiler\Options

Inheritance: extends ExpressionCompiler
Show file Open project: kylekatarnls/jade-php

Protected Properties

Property Type Description
$allowMixinOverride boolean
$customKeywords array
$filterAutoLoad boolean
$keepNullAttributes boolean
$options array
$phpSingleLine boolean
$prettyprint boolean
$restrictedScope boolean
$terse boolean

Public Methods

Method Description
getOption ( string $option ) : mixed Get an option from the jade engine if set or from the options array else.

Protected Methods

Method Description
setOptionType ( $option, $type )
setOptions ( array/Jade $options ) : array Get a jade engine reference or an options array and return needed options.

Method Details

getOption() public method

Get an option from the jade engine if set or from the options array else.
public getOption ( string $option ) : mixed
$option string
return mixed

setOptionType() protected method

protected setOptionType ( $option, $type )

setOptions() protected method

Get a jade engine reference or an options array and return needed options.
protected setOptions ( array/Jade $options ) : array
$options array/Jade
return array

Property Details

$allowMixinOverride protected property

protected bool $allowMixinOverride
return boolean

$customKeywords protected property

protected array $customKeywords
return array

$filterAutoLoad protected property

protected bool $filterAutoLoad
return boolean

$keepNullAttributes protected property

protected bool $keepNullAttributes
return boolean

$options protected property

protected array $options
return array

$phpSingleLine protected property

protected bool $phpSingleLine
return boolean

$prettyprint protected property

protected bool $prettyprint
return boolean

$restrictedScope protected property

protected bool $restrictedScope
return boolean

$terse protected property

protected bool $terse
return boolean