Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Tests | 18 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | public function getConfigTreeBuilder() |
||
29 | { |
||
30 | $treeBuilder = new TreeBuilder(); |
||
31 | 30 | $rootNode = $treeBuilder->root('hautelook_alice'); |
|
32 | |||
33 | 30 | $rootNode |
|
34 | 30 | ->children() |
|
35 | ->scalarNode('fixtures_path') |
||
36 | ->defaultValue('Resources/fixtures') |
||
37 | 30 | ->info('Path to which to look for fixtures relative to the bundle/root directory paths.') |
|
38 | 30 | ->end() |
|
39 | 30 | ->arrayNode('root_dirs') |
|
40 | 30 | ->info('List of root directories into which to look for the fixtures.') |
|
41 | 30 | ->defaultValue([ |
|
42 | 30 | '%kernel.root_dir%', |
|
43 | 30 | '%kernel.project_dir%', |
|
44 | 30 | ]) |
|
45 | 30 | ->scalarPrototype() |
|
46 | 30 | ->end() |
|
47 | 30 | ->end() |
|
48 | 30 | ; |
|
49 | 30 | ||
50 | 30 | return $treeBuilder; |
|
51 | 30 | } |
|
52 | } |
||
53 |