Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GenericEvent.php

function GenericEvent::offsetSet

ArrayAccess for argument setter.

Parameters

string $key Array key to set:

File

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

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal