\Phug\UtilOptionInterface

Interface OptionInterface.

Summary

Methods
Constants
hasOption()
getOption()
setOption()
getOptions()
setOptions()
setOptionsRecursive()
setOptionsDefaults()
unsetOption()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hasOption()

hasOption(string|array  $name) : mixed

Parameters

string|array $name

Returns

mixed

getOption()

getOption(string|array  $name) : mixed

Parameters

string|array $name

Returns

mixed

setOption()

setOption(string|array  $name, mixed  $value) : $this

Parameters

string|array $name
mixed $value

Returns

$this

getOptions()

getOptions() : array

Returns

array

setOptions()

setOptions(array  $options) : $this

Parameters

array $options

Returns

$this

setOptionsRecursive()

setOptionsRecursive(array  $options) : $this

Parameters

array $options

Returns

$this

setOptionsDefaults()

setOptionsDefaults(array  $options) : $this

Parameters

array $options

Returns

$this

unsetOption()

unsetOption(string|array  $name) : $this

Parameters

string|array $name

Returns

$this