@@ -4,14 +4,14 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Illuminate\Support\Collection; |
7 | -use Spatie\EventProjector\Models\StoredEvent; |
|
8 | -use Spatie\EventProjector\Projectors\Projector; |
|
9 | 7 | use Spatie\EventProjector\EventHandlers\EventHandler; |
8 | +use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent; |
|
10 | 9 | use Spatie\EventProjector\Events\FinishedEventReplay; |
10 | +use Spatie\EventProjector\Events\ProjectorDidNotHandlePriorEvents; |
|
11 | 11 | use Spatie\EventProjector\Events\StartingEventReplay; |
12 | 12 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
13 | -use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent; |
|
14 | -use Spatie\EventProjector\Events\ProjectorDidNotHandlePriorEvents; |
|
13 | +use Spatie\EventProjector\Models\StoredEvent; |
|
14 | +use Spatie\EventProjector\Projectors\Projector; |
|
15 | 15 | |
16 | 16 | class EventProjectionist |
17 | 17 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\EventProjector\Models; |
4 | 4 | |
5 | -use Illuminate\Support\Facades\DB; |
|
6 | -use Illuminate\Database\Eloquent\Model; |
|
7 | 5 | use Illuminate\Database\Eloquent\Builder; |
8 | -use Spatie\EventProjector\ShouldBeStored; |
|
6 | +use Illuminate\Database\Eloquent\Model; |
|
7 | +use Illuminate\Support\Facades\DB; |
|
9 | 8 | use Spatie\EventProjector\EventSerializers\EventSerializer; |
9 | +use Spatie\EventProjector\ShouldBeStored; |
|
10 | 10 | |
11 | 11 | class StoredEvent extends Model |
12 | 12 | { |