You are here

public function GenericEvent::offsetSet in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/event-dispatcher/GenericEvent.php \Symfony\Component\EventDispatcher\GenericEvent::offsetSet()

ArrayAccess for argument setter.

Parameters

string $key Array key to set.:

mixed $value Value.:

File

vendor/symfony/event-dispatcher/GenericEvent.php, line 148

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

public function offsetSet($key, $value) {
  $this
    ->setArgument($key, $value);
}