Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
10 | 6 | public function getConfigTreeBuilder() |
|
11 | { |
||
12 | 6 | $treeBuilder = new TreeBuilder(); |
|
13 | 6 | $root = $treeBuilder->root('frankdejonge_i18n_routing'); |
|
14 | 6 | $root->children() |
|
15 | 6 | ->scalarNode('default_locale') |
|
16 | 6 | ->defaultValue('en') |
|
17 | 6 | ->end() |
|
18 | 6 | ->booleanNode('use_annotations') |
|
19 | 6 | ->defaultFalse() |
|
20 | 6 | ->end() |
|
21 | 6 | ->end(); |
|
22 | |||
23 | 6 | return $treeBuilder; |
|
24 | } |
||
25 | } |