You are here

public function GenericEvent::hasArgument in Zircon Profile 8

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

Has argument.

Parameters

string $key Key of arguments array.:

Return value

bool

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 123

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

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