@@ -33,6 +33,9 @@ |
||
| 33 | 33 | $this->storedEventModel::store($event, $this->storedEventModel->version ?? StoredEvent::DEFAULT_VERSION); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $event |
|
| 38 | + */ |
|
| 36 | 39 | private function shouldBeStored($event): bool |
| 37 | 40 | { |
| 38 | 41 | if (! class_exists($event)) { |