| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | 2 | public function getConfigTreeBuilder() |
|
| 13 | { |
||
| 14 | 2 | $treeBuilder = new TreeBuilder(); |
|
| 15 | 2 | $rootNode = $treeBuilder->root('loevgaard_dandomain_consignment'); |
|
| 16 | |||
| 17 | $rootNode |
||
| 18 | 2 | ->children() |
|
| 19 | 2 | ->scalarNode('report_dir') |
|
| 20 | 2 | ->info('The directory where report files will be saved') |
|
| 21 | 2 | ->isRequired() |
|
| 22 | 2 | ->cannotBeEmpty() |
|
| 23 | 2 | ->end() |
|
| 24 | 2 | ->end() |
|
| 25 | ; |
||
| 26 | |||
| 27 | 2 | return $treeBuilder; |
|
| 28 | } |
||
| 29 | } |
||
| 30 |