Méthode |
Description |
|
__construct ( array $options = [] ) |
Constructor. |
|
build ( OptionsArray $component, array $options = [] ) : string |
|
|
has ( string $key, boolean $getExpr = false ) : mixed |
Checks if it has the specified option and returns it value or true. |
|
isEmpty ( ) : boolean |
Checks tf there are no options set. |
|
merge ( array | OptionsArray $options ) : void |
Merges the specified options with these ones. Values with same ID will be
replaced. |
|
parse ( Parser $parser, TokensList $list, array $options = [] ) : OptionsArray |
|
|
remove ( string $key ) : boolean |
Removes the option from the array. |
|