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.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

Bundle.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 936.00 Bytes


01  <?php
02   
03  /**
04  * @package   s9e\TextFormatter
05  * @copyright Copyright (c) 2010-2022 The s9e authors
06  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
07  */
08  namespace s9e\TextFormatter\Configurator;
09   
10  use s9e\TextFormatter\Configurator;
11   
12  abstract class Bundle
13  {
14      /**
15      * Configure a Configurator instance with this bundle's settings
16      *
17      * @param  Configurator $configurator
18      * @return void
19      */
20      abstract public function configure(Configurator $configurator);
21   
22      /**
23      * Create and return a configured instance of Configurator
24      *
25      * @return Configurator
26      */
27      public static function getConfigurator()
28      {
29          $configurator = new Configurator;
30   
31          $bundle  = new static;
32          $bundle->configure($configurator);
33   
34          return $configurator;
35      }
36   
37      /**
38      * Return extra options to be passed to the bundle generator
39      *
40      * Used by scripts/generateBundles.php
41      *
42      * @return array
43      */
44      public static function getOptions()
45      {
46          return [];
47      }
48  }