public function GenericEvent::offsetSet

ArrayAccess for argument setter.

Parameters

string $key Array key to set.:

mixed $value Value.:

Return value

void

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php, line 150

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

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