Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
16 | public function getConfigTreeBuilder() |
||
17 | { |
||
18 | $treeBuilder = new TreeBuilder(); |
||
19 | $rootNode = $treeBuilder->root('basster_legacy_bridge'); |
||
20 | |||
21 | $rootNode |
||
22 | ->children() |
||
23 | ->scalarNode('legacy_path') |
||
24 | ->defaultValue('/path/to/my/legacy/project/files') |
||
25 | ->end() |
||
26 | ->scalarNode('append_script') |
||
27 | ->info('optional append script (see http://php.net/manual/en/ini.core.php#ini.auto-append-file)') |
||
28 | ->defaultNull() |
||
29 | ->end() |
||
30 | ->scalarNode('prepend_script') |
||
31 | ->info('optional prepend script (see http://php.net/manual/en/ini.core.php#ini.auto-prepend-file)') |
||
32 | ->defaultNull() |
||
33 | ->end() |
||
34 | ->end() |
||
35 | ; |
||
36 | |||
37 | return $treeBuilder; |
||
38 | } |
||
39 | } |
||
40 |