Symfony\Component\OptionsResolver\Options::offsetGet
Equivalent to {@link get()}.
Signature
public function offsetGet(string
$option )
Parameters
$option
— string- The option name.
Returns
- mixed
- The option value.
Errors/Exceptions
-
OutOfBoundsException
- If the option does not exist.
-
OptionDefinitionException
- If a cyclic dependency is detected