Symfony\Component\EventDispatcher\GenericEvent::offsetGet
ArrayAccess for argument getter.
Signature
public function offsetGet(string
$key )
Parameters
$key
— string- Array key.
Returns
- mixed
Errors/Exceptions
-
InvalidArgumentException
- If key does not exist in $this->args.