Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

EventSubscriberInterface.php

Zuletzt modifiziert: 09.10.2024, 12:58 - Dateigröße: 1.55 KiB


 01  <?php
 02   
 03  /*
 04   * This file is part of the Symfony package.
 05   *
 06   * (c) Fabien Potencier <fabien@symfony.com>
 07   *
 08   * For the full copyright and license information, please view the LICENSE
 09   * file that was distributed with this source code.
 10   */
 11   
 12  namespace Symfony\Component\EventDispatcher;
 13   
 14  /**
 15   * An EventSubscriber knows himself what events he is interested in.
 16   * If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
 17   * {@link getSubscribedEvents} and registers the subscriber as a listener for all
 18   * returned events.
 19   *
 20   * @author  Guilherme Blanco <guilhermeblanco@hotmail.com>
 21   * @author  Jonathan Wage <jonwage@gmail.com>
 22   * @author  Roman Borschel <roman@code-factory.org>
 23   * @author  Bernhard Schussek <bschussek@gmail.com>
 24   *
 25   * @api
 26   */
 27  interface EventSubscriberInterface
 28  {
 29      /**
 30       * Returns an array of event names this subscriber wants to listen to.
 31       *
 32       * The array keys are event names and the value can be:
 33       *
 34       *  * The method name to call (priority defaults to 0)
 35       *  * An array composed of the method name to call and the priority
 36       *  * An array of arrays composed of the method names to call and respective
 37       *    priorities, or 0 if unset
 38       *
 39       * For instance:
 40       *
 41       *  * array('eventName' => 'methodName')
 42       *  * array('eventName' => array('methodName', $priority))
 43       *  * array('eventName' => array(array('methodName1', $priority), array('methodName2'))
 44       *
 45       * @return array The event names to listen to
 46       *
 47       * @api
 48       */
 49      public static function getSubscribedEvents();
 50  }
 51