| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 39 | 3 | public function handle(EventInterface $error, $context = null) |
|
| 40 | { |
||
| 41 | 3 | $this->eventBus->publish( |
|
| 42 | 3 | new DomainEventStream([ |
|
| 43 | 3 | DomainMessage::recordNow( |
|
| 44 | 3 | null, |
|
| 45 | 3 | null, |
|
| 46 | 3 | new Metadata([ ContextEnricher::CONTEXT => $context ]), |
|
| 47 | $error |
||
| 48 | 2 | ) |
|
| 49 | 2 | ]) |
|
| 50 | 2 | ); |
|
| 51 | 3 | } |
|
| 52 | } |
||
| 53 |