public function GenericEvent::hasArgument

Has argument.

Parameters

string $key Key of arguments array.:

Return value

boolean

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

File

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

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

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