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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
container_configuration.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\di\extension;
15
16 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
17 use Symfony\Component\Config\Definition\ConfigurationInterface;
18
19 class container_configuration implements ConfigurationInterface
20 {
21
22 /**
23 * Generates the configuration tree builder.
24 *
25 * @return \Symfony\Component\Config\Definition\Builder\TreeBuilder The tree builder
26 */
27 public function getConfigTreeBuilder()
28 {
29 $treeBuilder = new TreeBuilder();
30 $rootNode = $treeBuilder->root('core');
31 $rootNode
32 ->children()
33 ->booleanNode('require_dev_dependencies')->defaultValue(false)->end()
34 ->arrayNode('debug')
35 ->addDefaultsIfNotSet()
36 ->children()
37 ->booleanNode('exceptions')->defaultValue(false)->end()
38 ->end()
39 ->end()
40 ->arrayNode('twig')
41 ->addDefaultsIfNotSet()
42 ->children()
43 ->booleanNode('debug')->defaultValue(null)->end()
44 ->booleanNode('auto_reload')->defaultValue(null)->end()
45 ->booleanNode('enable_debug_extension')->defaultValue(false)->end()
46 ->end()
47 ->end()
48 ->end()
49 ;
50 return $treeBuilder;
51 }
52 }
53