Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function getConfigTreeBuilder() |
||
11 | { |
||
12 | $treeBuilder = new TreeBuilder('metro_markets_ff_bundle'); |
||
13 | |||
14 | $treeBuilder->getRootNode() |
||
15 | ->children() |
||
16 | ->scalarNode('provider')->defaultValue('null')->end() |
||
17 | ->scalarNode('cache_driver')->end() |
||
18 | ->arrayNode('configcat') |
||
19 | ->children() |
||
20 | ->scalarNode('sdk_key')->end() |
||
21 | ->end() |
||
22 | ->end() |
||
23 | ->arrayNode('rest') |
||
24 | ->children() |
||
25 | ->scalarNode('endpoint')->end() |
||
26 | ->end() |
||
27 | ->end() |
||
28 | ->end(); |
||
29 | |||
30 | return $treeBuilder; |
||
31 | } |
||
32 | } |