| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | protected function continueConfiguration(NodeDefinition $node) |
||
| 46 | { |
||
| 47 | parent::continueConfiguration($node); |
||
| 48 | $node |
||
| 49 | ->validate() |
||
| 50 | ->ifTrue(function ($config) { |
||
| 51 | return empty($config['event_store']); |
||
| 52 | }) |
||
| 53 | ->thenInvalid('The option "event_store" must be set.') |
||
| 54 | ->end() |
||
| 55 | ->children() |
||
| 56 | ->scalarNode('event_store')->defaultNull()->end() |
||
| 57 | ->end(); |
||
| 58 | } |
||
| 59 | } |
||
| 60 |