Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
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 |
BundleInterface.php
001 <?php
002
003 /*
004 * This file is part of the Symfony package.
005 *
006 * (c) Fabien Potencier <fabien@symfony.com>
007 *
008 * For the full copyright and license information, please view the LICENSE
009 * file that was distributed with this source code.
010 */
011
012 namespace Symfony\Component\HttpKernel\Bundle;
013
014 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
015 use Symfony\Component\DependencyInjection\ContainerBuilder;
016 use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
017
018 /**
019 * BundleInterface.
020 *
021 * @author Fabien Potencier <fabien@symfony.com>
022 *
023 * @api
024 */
025 interface BundleInterface extends ContainerAwareInterface
026 {
027 /**
028 * Boots the Bundle.
029 *
030 * @api
031 */
032 public function boot();
033
034 /**
035 * Shutdowns the Bundle.
036 *
037 * @api
038 */
039 public function shutdown();
040
041 /**
042 * Builds the bundle.
043 *
044 * It is only ever called once when the cache is empty.
045 *
046 * @param ContainerBuilder $container A ContainerBuilder instance
047 *
048 * @api
049 */
050 public function build(ContainerBuilder $container);
051
052 /**
053 * Returns the container extension that should be implicitly loaded.
054 *
055 * @return ExtensionInterface|null The default extension or null if there is none
056 *
057 * @api
058 */
059 public function getContainerExtension();
060
061 /**
062 * Returns the bundle name that this bundle overrides.
063 *
064 * Despite its name, this method does not imply any parent/child relationship
065 * between the bundles, just a way to extend and override an existing
066 * bundle.
067 *
068 * @return string The Bundle name it overrides or null if no parent
069 *
070 * @api
071 */
072 public function getParent();
073
074 /**
075 * Returns the bundle name (the class short name).
076 *
077 * @return string The Bundle name
078 *
079 * @api
080 */
081 public function getName();
082
083 /**
084 * Gets the Bundle namespace.
085 *
086 * @return string The Bundle namespace
087 *
088 * @api
089 */
090 public function getNamespace();
091
092 /**
093 * Gets the Bundle directory path.
094 *
095 * The path should always be returned as a Unix path (with /).
096 *
097 * @return string The Bundle absolute path
098 *
099 * @api
100 */
101 public function getPath();
102 }
103