You are here

public function TraceableEventDispatcher::removeSubscriber in Zircon Profile 8.0

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

Removes an event subscriber.

Parameters

EventSubscriberInterface $subscriber The subscriber:

Overrides EventDispatcherInterface::removeSubscriber

File

vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php, line 89

Class

TraceableEventDispatcher
Collects some data about event listeners.

Namespace

Symfony\Component\EventDispatcher\Debug

Code

public function removeSubscriber(EventSubscriberInterface $subscriber) {
  return $this->dispatcher
    ->removeSubscriber($subscriber);
}