ImmutableEventDispatcher::hasListeners()
  • References/PHP/Symfony/Component/EventDispatcher

bool hasListeners(string $eventName = null) Checks whether an event has any registered listeners

2025-01-10 15:47:30
EventDispatcher::removeSubscriber()
  • References/PHP/Symfony/Component/EventDispatcher

removeSubscriber(

2025-01-10 15:47:30
ContainerAwareEventDispatcher::addSubscriberService()
  • References/PHP/Symfony/Component/EventDispatcher

addSubscriberService(string $serviceId, string $class) Adds a service as event subscriber.

2025-01-10 15:47:30
ImmutableEventDispatcher
  • References/PHP/Symfony/Component/EventDispatcher

class ImmutableEventDispatcher implements

2025-01-10 15:47:30
EventDispatcher::addListener()
  • References/PHP/Symfony/Component/EventDispatcher

addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens

2025-01-10 15:47:30
EventDispatcher::removeListener()
  • References/PHP/Symfony/Component/EventDispatcher

removeListener(string $eventName, callable $listener) Removes an event listener from the specified

2025-01-10 15:47:30
Event::stopPropagation()
  • References/PHP/Symfony/Component/EventDispatcher

stopPropagation() Stops the propagation of the event to further event listeners. If multiple

2025-01-10 15:47:30
TraceableEventDispatcher::getListeners()
  • References/PHP/Symfony/Component/EventDispatcher/Debug

array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners

2025-01-10 15:47:30
ContainerAwareEventDispatcher::addListenerService()
  • References/PHP/Symfony/Component/EventDispatcher

addListenerService(string $eventName, array $callback, int $priority) Adds a service as event listener

2025-01-10 15:47:30
EventDispatcher
  • References/PHP/Symfony/Component/EventDispatcher

class EventDispatcher implements

2025-01-10 15:47:30