@@ -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 | { |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Console; |
4 | 4 | |
5 | 5 | use Illuminate\Console\Command; |
6 | -use Spatie\EventProjector\EventProjectionist; |
|
7 | 6 | use Spatie\EventProjector\Console\Concerns\ReplaysEvents; |
8 | 7 | use Spatie\EventProjector\Console\Concerns\SelectsProjectors; |
8 | +use Spatie\EventProjector\EventProjectionist; |
|
9 | 9 | |
10 | 10 | class RebuildCommand extends Command |
11 | 11 | { |
@@ -3,10 +3,9 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Console; |
4 | 4 | |
5 | 5 | use Illuminate\Console\Command; |
6 | -use Spatie\EventProjector\EventProjectionist; |
|
7 | -use Spatie\EventProjector\Projectors\Projector; |
|
8 | 6 | use Spatie\EventProjector\Console\Concerns\ReplaysEvents; |
9 | 7 | use Spatie\EventProjector\Console\Concerns\SelectsProjectors; |
8 | +use Spatie\EventProjector\EventProjectionist; |
|
10 | 9 | |
11 | 10 | class ReplayCommand extends Command |
12 | 11 | { |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Console; |
4 | 4 | |
5 | 5 | use Illuminate\Console\Command; |
6 | -use Spatie\EventProjector\EventProjectionist; |
|
7 | 6 | use Spatie\EventProjector\Console\Concerns\SelectsProjectors; |
7 | +use Spatie\EventProjector\EventProjectionist; |
|
8 | 8 | |
9 | 9 | class ResetCommand extends Command |
10 | 10 | { |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\EventProjector\Models; |
4 | 4 | |
5 | -use Illuminate\Support\Collection; |
|
6 | 5 | use Illuminate\Database\Eloquent\Model; |
7 | -use Spatie\EventProjector\Projectors\Projector; |
|
6 | +use Illuminate\Support\Collection; |
|
8 | 7 | use Spatie\EventProjector\Facades\EventProjectionist; |
8 | +use Spatie\EventProjector\Projectors\Projector; |
|
9 | 9 | |
10 | 10 | class ProjectorStatus extends Model |
11 | 11 | { |