public function EventManager::removeEventSubscriber in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/EventManager.php \Doctrine\Common\EventManager::removeEventSubscriber()
Removes an EventSubscriber. The subscriber is asked for all the events it is interested in and removed as a listener for these events.
Parameters
\Doctrine\Common\EventSubscriber $subscriber The subscriber.:
Return value
void
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ EventManager.php, line 150
Class
- EventManager
- The EventManager is the central point of Doctrine's event listener system. Listeners are registered on the manager and events are dispatched through the manager.
Namespace
Doctrine\CommonCode
public function removeEventSubscriber(EventSubscriber $subscriber) {
$this
->removeEventListener($subscriber
->getSubscribedEvents(), $subscriber);
}