Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 3 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | public function getConfigTreeBuilder() |
||
23 | { |
||
24 | $treeBuilder = new TreeBuilder(); |
||
25 | $rootNode = $treeBuilder->root('chrisyue_auto_json_response'); |
||
26 | |||
27 | $rootNode |
||
28 | ->children() |
||
29 | ->arrayNode('serializer') |
||
30 | ->canBeEnabled() |
||
31 | ->children() |
||
32 | ->arrayNode('default_groups') |
||
33 | ->prototype('scalar')->end() |
||
34 | ->end() |
||
35 | ->end() |
||
36 | ->end() |
||
37 | ->end() |
||
38 | ; |
||
39 | |||
40 | return $treeBuilder; |
||
41 | } |
||
42 | } |
||
43 |