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

Breadcrumb

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

function GenericEvent::hasArgument

Has argument.

3 calls to GenericEvent::hasArgument()
GenericEvent::getArgument in vendor/symfony/event-dispatcher/GenericEvent.php
Get argument by key.
GenericEvent::offsetExists in vendor/symfony/event-dispatcher/GenericEvent.php
ArrayAccess has argument.
GenericEvent::offsetUnset in vendor/symfony/event-dispatcher/GenericEvent.php
ArrayAccess for unset argument.

File

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

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

public function hasArgument(string $key) : bool {
    return \array_key_exists($key, $this->arguments);
}

API Navigation

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