public function GenericEvent::offsetGet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/event-dispatcher/GenericEvent.php \Symfony\Component\EventDispatcher\GenericEvent::offsetGet()
 
ArrayAccess for argument getter.
Parameters
string $key Array key.:
Return value
mixed
Throws
\InvalidArgumentException If key does not exist in $this->args.
File
- vendor/
symfony/ event-dispatcher/ GenericEvent.php, line 137  
Class
- GenericEvent
 - Event encapsulation class.
 
Namespace
Symfony\Component\EventDispatcherCode
public function offsetGet($key) {
  return $this
    ->getArgument($key);
}