Open Journal Systems  3.3.0
lib/vendor/symfony/event-dispatcher/EventDispatcherInterface.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
22 {
34  public function dispatch($eventName, Event $event = null);
35 
44  public function addListener($eventName, $listener, $priority = 0);
45 
52  public function addSubscriber(EventSubscriberInterface $subscriber);
53 
60  public function removeListener($eventName, $listener);
61 
62  public function removeSubscriber(EventSubscriberInterface $subscriber);
63 
71  public function getListeners($eventName = null);
72 
80  public function hasListeners($eventName = null);
81 }
Symfony\Component\EventDispatcher\EventDispatcherInterface\addListener
addListener($eventName, $listener, $priority=0)
Symfony\Component\EventDispatcher\EventSubscriberInterface
Definition: lib/vendor/symfony/event-dispatcher/EventSubscriberInterface.php:25
Symfony\Component\EventDispatcher\EventDispatcherInterface\hasListeners
hasListeners($eventName=null)
Symfony\Component\EventDispatcher\EventDispatcherInterface\getListeners
getListeners($eventName=null)
Symfony\Component\EventDispatcher\EventDispatcherInterface\removeSubscriber
removeSubscriber(EventSubscriberInterface $subscriber)
Symfony\Component\EventDispatcher
Definition: lib/vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php:12
Symfony\Component\EventDispatcher\EventDispatcherInterface\removeListener
removeListener($eventName, $listener)
Symfony\Component\EventDispatcher\EventDispatcherInterface\dispatch
dispatch($eventName, Event $event=null)
Symfony\Component\EventDispatcher\EventDispatcherInterface\addSubscriber
addSubscriber(EventSubscriberInterface $subscriber)
Symfony\Component\EventDispatcher\EventDispatcherInterface
Definition: lib/vendor/symfony/event-dispatcher/EventDispatcherInterface.php:21
Symfony\Component\EventDispatcher\Event
Definition: lib/vendor/symfony/event-dispatcher/Event.php:28