EventDispatcher

EventDispatcher

class EventDispatcher implements EventDispatcherInterface

The EventDispatcherInterface is the central point of Symfony's event listener system.

Listeners are registered on the manager and events are dispatched through the manager.

Methods

登录查看完整内容
Event dispatch(string $eventName, Event $event = null)

Dispatches an event to all registered listeners.

array