ImmutableEventDispatcher::addSubscriber()

addSubscriber(EventSubscriberInterface $subscriber)

Adds an event subscriber.

The subscriber is asked for all the events he is interested in and added as a listener for these events.

Parameters

EventSubscriberInterface $subscriber The subscriber
doc_Symfony
2016-10-28 06:20:58
Comments
Leave a Comment

Please login to continue.