EventDispatcherInterface::dispatch()

Event dispatch(string $eventName, Event $event = null)

Dispatches an event to all registered listeners.

Parameters

string $eventName The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners.
Event $event The event to pass to the event handlers/listeners If not supplied, an empty Event instance is created.

Return Value

Event
doc_Symfony
2016-10-28 06:15:32
Comments
Leave a Comment

Please login to continue.