Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Tests | 21 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 6 | public function getConfigTreeBuilder() |
|
26 | { |
||
27 | 6 | $treeBuilder = new TreeBuilder(); |
|
28 | $treeBuilder |
||
29 | 6 | ->root('lug_storage') |
|
30 | 6 | ->children() |
|
31 | 6 | ->arrayNode('cookie') |
|
32 | 6 | ->canBeEnabled() |
|
33 | 6 | ->end() |
|
34 | 6 | ->arrayNode('doctrine') |
|
35 | 6 | ->canBeEnabled() |
|
36 | 6 | ->children() |
|
37 | 6 | ->scalarNode('service') |
|
38 | 6 | ->isRequired() |
|
39 | 6 | ->cannotBeEmpty() |
|
40 | 6 | ->end() |
|
41 | 6 | ->end() |
|
42 | 6 | ->end() |
|
43 | 6 | ->arrayNode('session') |
|
44 | 6 | ->canBeEnabled() |
|
45 | 6 | ->end() |
|
46 | 6 | ->end(); |
|
47 | |||
48 | 6 | return $treeBuilder; |
|
49 | } |
||
50 | } |
||
51 |