| 1 | <?php |
||
| 9 | final class EventHandlerFailedHandlingEvent |
||
| 10 | { |
||
| 11 | public EventHandler $eventHandler; |
||
|
|
|||
| 12 | |||
| 13 | public StoredEvent $storedEvent; |
||
| 14 | |||
| 15 | public Exception $exception; |
||
| 16 | |||
| 17 | public function __construct(EventHandler $eventHandler, StoredEvent $storedEvent, Exception $exception) |
||
| 18 | { |
||
| 19 | $this->eventHandler = $eventHandler; |
||
| 20 | |||
| 21 | $this->storedEvent = $storedEvent; |
||
| 22 | |||
| 23 | $this->exception = $exception; |
||
| 24 | } |
||
| 25 | } |
||
| 26 |