Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function getConfigTreeBuilder() |
||
18 | { |
||
19 | $treeBuilder = new TreeBuilder(); |
||
20 | $rootNode = $treeBuilder->root('ikoene_marvel_api'); |
||
21 | $rootNode |
||
22 | ->children() |
||
23 | ->scalarNode('public_api_key')->isRequired()->end() |
||
24 | ->scalarNode('private_api_key')->isRequired()->end() |
||
25 | ->end() |
||
26 | ->end(); |
||
27 | |||
28 | return $treeBuilder; |
||
29 | } |
||
30 | } |
||
31 |