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 |
ExtensionInterface.php
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\DependencyInjection\Extension;
13
14 use Symfony\Component\DependencyInjection\ContainerBuilder;
15
16 /**
17 * ExtensionInterface is the interface implemented by container extension classes.
18 *
19 * @author Fabien Potencier <fabien@symfony.com>
20 *
21 * @api
22 */
23 interface ExtensionInterface
24 {
25 /**
26 * Loads a specific configuration.
27 *
28 * @param array $config An array of configuration values
29 * @param ContainerBuilder $container A ContainerBuilder instance
30 *
31 * @throws \InvalidArgumentException When provided tag is not defined in this extension
32 *
33 * @api
34 */
35 public function load(array $config, ContainerBuilder $container);
36
37 /**
38 * Returns the namespace to be used for this extension (XML namespace).
39 *
40 * @return string The XML namespace
41 *
42 * @api
43 */
44 public function getNamespace();
45
46 /**
47 * Returns the base path for the XSD files.
48 *
49 * @return string The XSD base path
50 *
51 * @api
52 */
53 public function getXsdValidationBasePath();
54
55 /**
56 * Returns the recommended alias to use in XML.
57 *
58 * This alias is also the mandatory prefix to use when using YAML.
59 *
60 * @return string The alias
61 *
62 * @api
63 */
64 public function getAlias();
65 }
66