Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ListenerAggregateInterface.php
01 <?php
02 /**
03 * Zend Framework (http://framework.zend.com/)
04 *
05 * @link http://github.com/zendframework/zend-eventmanager for the canonical source repository
06 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
07 * @license https://github.com/zendframework/zend-eventmanager/blob/master/LICENSE.md
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 an EventManager, without an event name. The {@link attach()} method will
17 * then be called with the current EventManager instance, allowing the class to
18 * wire up one or more listeners.
19 */
20 interface ListenerAggregateInterface
21 {
22 /**
23 * Attach one or more listeners
24 *
25 * Implementors may add an optional $priority argument; the EventManager
26 * implementation will pass this to the aggregate.
27 *
28 * @param EventManagerInterface $events
29 * @param int $priority
30 * @return void
31 */
32 public function attach(EventManagerInterface $events, $priority = 1);
33
34 /**
35 * Detach all previously attached listeners
36 *
37 * @param EventManagerInterface $events
38 * @return void
39 */
40 public function detach(EventManagerInterface $events);
41 }
42