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