Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
18 | public function getConfigTreeBuilder() |
||
19 | { |
||
20 | $treeBuilder = new TreeBuilder(); |
||
21 | $rootNode = $treeBuilder->root('developtech_agility'); |
||
22 | $rootNode |
||
23 | ->children() |
||
24 | ->arrayNode('model')->isRequired() |
||
25 | ->children() |
||
26 | ->arrayNode('class')->isRequired() |
||
27 | ->children() |
||
28 | ->scalarNode('project')->isRequired()->end() |
||
29 | ->scalarNode('feature')->isRequired()->end() |
||
30 | ->end() |
||
31 | ->end() |
||
32 | ->end() |
||
33 | ->end() |
||
34 | ->end() |
||
35 | ; |
||
36 | return $treeBuilder; |
||
37 | } |
||
38 | } |
||
39 |