@@ -4,9 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | 6 | use Illuminate\Support\Collection; |
| 7 | -use Spatie\EventProjector\StoredEvent; |
|
| 8 | 7 | use Spatie\EventProjector\EventProjectionist; |
| 9 | 8 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
| 9 | +use Spatie\EventProjector\StoredEvent; |
|
| 10 | 10 | |
| 11 | 11 | class ReplayEventsCommand extends Command |
| 12 | 12 | { |
@@ -40,6 +40,9 @@ |
||
| 40 | 40 | ->callEventHandlers($this->evenSorcerer->reactors, $event); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $event |
|
| 45 | + */ |
|
| 43 | 46 | protected function shouldBeStored($event): bool |
| 44 | 47 | { |
| 45 | 48 | if (! class_exists($event)) { |