@@ -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 | { |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Support\Collection; |
6 | 6 | use Spatie\EventProjector\EventHandlers\EventHandler; |
7 | -use Spatie\EventProjector\Models\StoredEvent; |
|
8 | -use Spatie\EventProjector\Projectors\Projector; |
|
9 | 7 | use Spatie\EventProjector\Events\FinishedEventReplay; |
8 | +use Spatie\EventProjector\Events\ProjectorDidNotHandlePriorEvents; |
|
10 | 9 | use Spatie\EventProjector\Events\StartingEventReplay; |
11 | 10 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
12 | -use Spatie\EventProjector\Events\ProjectorDidNotHandlePriorEvents; |
|
11 | +use Spatie\EventProjector\Models\StoredEvent; |
|
12 | +use Spatie\EventProjector\Projectors\Projector; |
|
13 | 13 | |
14 | 14 | class EventProjectionist |
15 | 15 | { |
@@ -3,10 +3,9 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Projectors; |
4 | 4 | |
5 | 5 | use Carbon\Carbon; |
6 | -use Illuminate\Database\Eloquent\Concerns\HasEvents; |
|
7 | 6 | use Spatie\EventProjector\EventHandlers\HandlesEvents; |
8 | -use Spatie\EventProjector\Models\StoredEvent; |
|
9 | 7 | use Spatie\EventProjector\Models\ProjectorStatus; |
8 | +use Spatie\EventProjector\Models\StoredEvent; |
|
10 | 9 | |
11 | 10 | trait ProjectsEvents |
12 | 11 | { |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Snapshots; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Spatie\EventProjector\EventProjectionist; |
|
7 | 6 | use Illuminate\Contracts\Filesystem\Filesystem; |
7 | +use Spatie\EventProjector\EventProjectionist; |
|
8 | 8 | use Spatie\EventProjector\Exceptions\CouldNotCreateSnapshot; |
9 | 9 | use Spatie\EventProjector\Models\StoredEvent; |
10 | 10 |