12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?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);
- }
|