1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?php
- namespace Symfony\Component\EventDispatcher;
- use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as ContractsEventDispatcherInterface;
- interface EventDispatcherInterface extends ContractsEventDispatcherInterface
- {
-
- public function addListener($eventName, $listener, $priority = 0);
-
- public function addSubscriber(EventSubscriberInterface $subscriber);
-
- public function removeListener($eventName, $listener);
- public function removeSubscriber(EventSubscriberInterface $subscriber);
-
- public function getListeners($eventName = null);
-
- public function getListenerPriority($eventName, $listener);
-
- public function hasListeners($eventName = null);
- }
|