Op
bool isKnown(string $option) Returns whether an option is known. An option is known if
string[] getDefinedOptions() Returns the names of all defined options.
OptionsResolver addAllowedTypes(string
int count() Returns the number of set options. This may be only a subset of the defined
bool isRequired(string $option) Returns whether an option is required. An option is required
offsetSet($option, $value) Not supported.
array resolve(array $options = array()) Merges options with the default values stored in the
interface Options implements ArrayAccess,
Page 2 of 4