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

BundleInterface.php

Zuletzt modifiziert: 09.10.2024, 12:56 - Dateigröße: 2.06 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\HttpKernel\Bundle;
13   
14  use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15  use Symfony\Component\DependencyInjection\ContainerBuilder;
16  use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
17   
18  /**
19   * BundleInterface.
20   *
21   * @author Fabien Potencier <fabien@symfony.com>
22   */
23  interface BundleInterface extends ContainerAwareInterface
24  {
25      /**
26       * Boots the Bundle.
27       */
28      public function boot();
29   
30      /**
31       * Shutdowns the Bundle.
32       */
33      public function shutdown();
34   
35      /**
36       * Builds the bundle.
37       *
38       * It is only ever called once when the cache is empty.
39       *
40       * @param ContainerBuilder $container A ContainerBuilder instance
41       */
42      public function build(ContainerBuilder $container);
43   
44      /**
45       * Returns the container extension that should be implicitly loaded.
46       *
47       * @return ExtensionInterface|null The default extension or null if there is none
48       */
49      public function getContainerExtension();
50   
51      /**
52       * Returns the bundle name that this bundle overrides.
53       *
54       * Despite its name, this method does not imply any parent/child relationship
55       * between the bundles, just a way to extend and override an existing
56       * bundle.
57       *
58       * @return string The Bundle name it overrides or null if no parent
59       */
60      public function getParent();
61   
62      /**
63       * Returns the bundle name (the class short name).
64       *
65       * @return string The Bundle name
66       */
67      public function getName();
68   
69      /**
70       * Gets the Bundle namespace.
71       *
72       * @return string The Bundle namespace
73       */
74      public function getNamespace();
75   
76      /**
77       * Gets the Bundle directory path.
78       *
79       * The path should always be returned as a Unix path (with /).
80       *
81       * @return string The Bundle absolute path
82       */
83      public function getPath();
84  }
85