| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function setup(Settings $settings, BuilderInterface $builder, PipelineModifications $pipelineModifications) |
||
| 32 | { |
||
| 33 | $this->registerStartupTask( |
||
| 34 | function (BuilderInterface $builder) { |
||
| 35 | /** @var MessageHandlerRegistry $handlerRegistry */ |
||
| 36 | $handlerRegistry = $builder->build(MessageHandlerRegistry::class); |
||
| 37 | return new SubscriptionApplierStartupTask($handlerRegistry->getEventFqcns()); |
||
| 38 | } |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |