| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function handle(EnvelopeInterface $envelope): bool |
||
| 19 | { |
||
| 20 | $domainEvent = $envelope->getMessage(); |
||
| 21 | Assertion::implementsInterface($domainEvent, DomainEventInterface::class); |
||
| 22 | |||
| 23 | //@todo load projection, apply event and persist |
||
| 24 | var_dump($domainEvent); |
||
|
|
|||
| 25 | |||
| 26 | return true; |
||
| 27 | } |
||
| 28 | } |
||
| 29 |