Symfony\Component\OptionsResolver\Options::offsetSet
Equivalent to {@link set()}.
Signature
public function offsetSet(string
$option,
mixed
$value )
Parameters
$option
— string- The name of the option.
$value
— mixed- The value of the option. May be a closure with a
signature as defined in DefaultOptions::add().
Errors/Exceptions
-
OptionDefinitionException
- If options have already been read.