You are here

public function EventDispatcherInterface::removeSubscriber in Zircon Profile 8

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

Removes an event subscriber.

Parameters

EventSubscriberInterface $subscriber The subscriber:

4 methods override EventDispatcherInterface::removeSubscriber()
ContainerAwareEventDispatcher::removeSubscriber in core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
Removes an event subscriber.
EventDispatcher::removeSubscriber in vendor/symfony/event-dispatcher/EventDispatcher.php
Removes an event subscriber.
ImmutableEventDispatcher::removeSubscriber in vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php
Removes an event subscriber.
TraceableEventDispatcher::removeSubscriber in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
Removes an event subscriber.

File

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

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 removeSubscriber(EventSubscriberInterface $subscriber);