public getOptions ( array $fields = [], boolean $withUnderscore = false ) : array | ||
$fields | array | if empty array all options will be returned, field names can be either with underscored either without, i.e. _percolate, routing |
$withUnderscore | boolean | should option keys contain underscore prefix |
Результат | array |