Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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

SharedListenerAggregateInterface.php

Zuletzt modifiziert: 09.10.2024, 12:55 - Dateigröße: 1.22 KiB


01  <?php
02  /**
03   * Zend Framework (http://framework.zend.com/)
04   *
05   * @link      http://github.com/zendframework/zf2 for the canonical source repository
06   * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
07   * @license   http://framework.zend.com/license/new-bsd New BSD License
08   */
09   
10  namespace Zend\EventManager;
11   
12  /**
13   * Interface for self-registering event listeners.
14   *
15   * Classes implementing this interface may be registered by name or instance
16   * with a SharedEventManager, without an event name. The {@link attach()} method will
17   * then be called with the current SharedEventManager instance, allowing the class to
18   * wire up one or more listeners.
19   */
20  interface SharedListenerAggregateInterface
21  {
22      /**
23       * Attach one or more listeners
24       *
25       * Implementors may add an optional $priority argument; the SharedEventManager
26       * implementation will pass this to the aggregate.
27       *
28       * @param SharedEventManagerInterface $events
29       */
30      public function attachShared(SharedEventManagerInterface $events);
31   
32      /**
33       * Detach all previously attached listeners
34       *
35       * @param SharedEventManagerInterface $events
36       */
37      public function detachShared(SharedEventManagerInterface $events);
38  }
39