@@ -40,6 +40,9 @@ |
||
40 | 40 | ->callEventHandlers($this->eventProjectionist->reactors, $storedEvent); |
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)) { |
@@ -5,9 +5,9 @@ |
||
5 | 5 | use Illuminate\Console\Command; |
6 | 6 | use Illuminate\Support\Collection; |
7 | 7 | use Spatie\EventProjector\EventProjectionist; |
8 | +use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
|
8 | 9 | use Spatie\EventProjector\Models\StoredEvent; |
9 | 10 | use Spatie\EventProjector\Projectors\Projector; |
10 | -use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
|
11 | 11 | |
12 | 12 | class ReplayEventsCommand extends Command |
13 | 13 | { |