ContainerAwareEventDispatcher::addSubscriberService()

addSubscriberService(string $serviceId, string $class)

Adds a service as event subscriber.

Parameters

string $serviceId The service ID of the subscriber service
string $class The service's class name (which must implement EventSubscriberInterface)
doc_Symfony
2016-10-28 06:11:51
Comments
Leave a Comment

Please login to continue.