| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | 2 | public function getConfigTreeBuilder(): TreeBuilder |
|
| 13 | { |
||
| 14 | 2 | $treeBuilder = new TreeBuilder(); |
|
| 15 | 2 | $rootNode = $treeBuilder->root('saikootau_api'); |
|
| 16 | |||
| 17 | $rootNode |
||
| 18 | 2 | ->children() |
|
| 19 | 2 | ->scalarNode('default_content_type')->defaultValue('application/xml')->end() |
|
| 20 | 2 | ->booleanNode('expose_all_errors')->defaultFalse()->end() |
|
| 21 | 2 | ->end() |
|
| 22 | ; |
||
| 23 | |||
| 24 | 2 | return $treeBuilder; |
|
| 25 | } |
||
| 27 |