TraceableEventDispatcher::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:34:56
Comments
Leave a Comment

Please login to continue.