You are here

public function EventDispatcherInterface::removeListener in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/event-dispatcher/EventDispatcherInterface.php \Symfony\Component\EventDispatcher\EventDispatcherInterface::removeListener()

Removes an event listener from the specified events.

Parameters

string $eventName The event to remove a listener from:

callable $listener The listener to remove:

4 methods override EventDispatcherInterface::removeListener()
ContainerAwareEventDispatcher::removeListener in core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
Removes an event listener from the specified events.
EventDispatcher::removeListener in vendor/symfony/event-dispatcher/EventDispatcher.php
Removes an event listener from the specified events.
ImmutableEventDispatcher::removeListener in vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php
Removes an event listener from the specified events.
TraceableEventDispatcher::removeListener in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
Removes an event listener from the specified events.

File

vendor/symfony/event-dispatcher/EventDispatcherInterface.php, line 62

Class

EventDispatcherInterface
The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager.

Namespace

Symfony\Component\EventDispatcher

Code

public function removeListener($eventName, $listener);