Removes an event subscriber from the dispatcher.
public removeEventSubscriber ( Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber ) : static | ||
$subscriber | Symfony\Component\EventDispatcher\EventSubscriberInterface | The subscriber to remove. |
return | static | The current instance. |