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. |
|
(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 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 ->booleanNode('allow_install_dir')->defaultValue(false)->end()
35 ->arrayNode('debug')
36 ->addDefaultsIfNotSet()
37 ->children()
38 ->booleanNode('exceptions')->defaultValue(false)->end()
39 ->booleanNode('load_time')->defaultValue(false)->end()
40 ->booleanNode('sql_explain')->defaultValue(false)->end()
41 ->booleanNode('memory')->defaultValue(false)->end()
42 ->booleanNode('show_errors')->defaultValue(false)->end()
43 ->booleanNode('error_handler')->defaultValue(false)->end()
44 ->end()
45 ->end()
46 ->arrayNode('twig')
47 ->addDefaultsIfNotSet()
48 ->children()
49 ->booleanNode('debug')->defaultValue(null)->end()
50 ->booleanNode('auto_reload')->defaultValue(null)->end()
51 ->booleanNode('enable_debug_extension')->defaultValue(false)->end()
52 ->end()
53 ->end()
54 ->arrayNode('session')
55 ->addDefaultsIfNotSet()
56 ->children()
57 ->booleanNode('log_errors')->defaultValue(false)->end()
58 ->end()
59 ->end()
60 ->end()
61 ;
62 return $treeBuilder;
63 }
64 }
65