Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Code Lines | 23 |
Lines | 0 |
Ratio | 0 % |
Tests | 22 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 13 | public function getConfigTreeBuilder() |
|
20 | { |
||
21 | 13 | $treeBuilder = new TreeBuilder(); |
|
22 | 13 | $rootNode = $treeBuilder->root('onurb_yuml'); |
|
23 | |||
24 | $rootNode |
||
25 | 13 | ->children() |
|
26 | 13 | ->booleanNode('yuml_show_fields_description') |
|
27 | 13 | ->info('Set true to show fields properties in graph') |
|
28 | 13 | ->defaultFalse() |
|
29 | 13 | ->end() |
|
30 | 13 | ->arrayNode('yuml_colors') |
|
31 | 13 | ->prototype('array') |
|
32 | 13 | ->children() |
|
33 | 13 | ->end() |
|
34 | 13 | ->end() |
|
35 | 13 | ->end() |
|
36 | 13 | ->arrayNode('yuml_notes') |
|
37 | 13 | ->prototype('array') |
|
38 | 13 | ->children() |
|
39 | 13 | ->end() |
|
40 | 13 | ->end() |
|
41 | 13 | ->end() |
|
42 | 13 | ->end(); |
|
43 | |||
44 | 13 | return $treeBuilder; |
|
45 | } |
||
46 | } |
||
47 |