| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 14 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | public function getConfigTreeBuilder() |
|
| 21 | { |
||
| 22 | 1 | $treeBuilder = new TreeBuilder(); |
|
| 23 | 1 | $rootNode = $treeBuilder->root('lamoda_tactician_queue'); |
|
| 24 | |||
| 25 | $rootNode |
||
| 26 | 1 | ->children() |
|
| 27 | 1 | ->scalarNode('tactician_id') |
|
| 28 | 1 | ->defaultValue('tactician.commandbus') |
|
| 29 | 1 | ->info('Id of the tactician command bus service') |
|
| 30 | 1 | ->end() |
|
| 31 | 1 | ->scalarNode('command_serializer_id') |
|
| 32 | 1 | ->defaultValue('lamoda_tactician_queue.default_command_serializer') |
|
| 33 | 1 | ->info('Id of the Symfony serializer service used for command serialization') |
|
| 34 | 1 | ->end() |
|
| 35 | 1 | ->end(); |
|
| 36 | |||
| 37 | 1 | return $treeBuilder; |
|
| 38 | } |
||
| 39 | } |
||
| 40 |