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 |
GlobalsInterface.php
01 <?php
02
03 /*
04 * This file is part of Twig.
05 *
06 * (c) Fabien Potencier
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 Twig\Extension;
13
14 /**
15 * Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.
16 *
17 * Explicitly implement this interface if you really need to implement the
18 * deprecated getGlobals() method in your extensions.
19 *
20 * @author Fabien Potencier <fabien@symfony.com>
21 */
22 interface GlobalsInterface
23 {
24 /**
25 * Returns a list of global variables to add to the existing list.
26 *
27 * @return array An array of global variables
28 */
29 public function getGlobals();
30 }
31
32 class_alias('Twig\Extension\GlobalsInterface', 'Twig_Extension_GlobalsInterface');
33