Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
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_stock'); |
|
16 | |||
17 | $rootNode |
||
18 | 2 | ->children() |
|
19 | 2 | ->arrayNode('dandomain_order_state_ids') |
|
20 | 2 | ->info('The order state ids from Dandomain that should be considered as stock movements when an order is persisted') |
|
21 | 2 | ->isRequired() |
|
22 | 2 | ->cannotBeEmpty() |
|
23 | 2 | ->scalarPrototype()->end() |
|
24 | 2 | ->end() |
|
25 | 2 | ->end() |
|
26 | ; |
||
27 | |||
28 | 2 | return $treeBuilder; |
|
29 | } |
||
30 | } |
||
31 |