OptionsResolver setDefined(string|string[]
Op
offsetUnset($option) Not supported. Parameters
string[] getDefinedOptions() Returns the names of all defined options.
bool isRequired(string $option) Returns whether an option is required. An option is required
OptionsResolver setAllowedValues(string
bool isKnown(string $option) Returns whether an option is known. An option is known if
OptionsResolver setAllowedTypes(string
string[] getMissingOptions() Returns the names of all options missing a default value.
array resolve(array $options = array()) Returns the combination of the default and the passed
Page 1 of 4