| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Code Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 6 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 17 | public function getConfigTreeBuilder() |
||
| 18 | { |
||
| 19 | $treeBuilder = new TreeBuilder(); |
||
| 20 | $rootNode = $treeBuilder->root('werkspot_bing_ads_api'); |
||
| 21 | |||
| 22 | $rootNode |
||
| 23 | ->children() |
||
| 24 | ->scalarNode('cache_dir') |
||
| 25 | ->defaultValue('%kernel.cache_dir%') |
||
| 26 | ->cannotBeEmpty() |
||
| 27 | ->end() |
||
| 28 | ->arrayNode('csv') |
||
| 29 | ->children() |
||
| 30 | ->arrayNode('fixHeader') |
||
| 31 | ->children() |
||
| 32 | ->booleanNode('removeColumnHeader') |
||
| 33 | ->defaultFalse() |
||
| 34 | ->end() |
||
| 35 | ->end() |
||
| 36 | ->end() |
||
| 37 | ->end() |
||
| 38 | ->end() |
||
| 39 | ->end(); |
||
| 40 | |||
| 41 | return $treeBuilder; |
||
| 42 | } |
||
| 43 | } |
||
| 44 |