Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 11 |
CRAP Score | 1 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function getConfigTreeBuilder() |
||
19 | { |
||
20 | 1 | $treeBuilder = new TreeBuilder(); |
|
21 | 1 | $rootNode = $treeBuilder->root('elasticsearch_extra_bundle'); |
|
22 | |||
23 | $rootNode |
||
24 | 1 | ->children() |
|
25 | 1 | ->arrayNode('indices') |
|
26 | 1 | ->defaultValue([]) |
|
27 | 1 | ->prototype('array') |
|
28 | 1 | ->prototype('variable')->end() |
|
29 | 1 | ->end() |
|
30 | 1 | ->end() |
|
31 | 1 | ->end() |
|
32 | ; |
||
33 | |||
34 | 1 | return $treeBuilder; |
|
35 | } |
||
36 | } |
||
38 |