@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Illuminate\Support\Collection; |
7 | -use Spatie\EventProjector\Snapshots\Snapshot; |
|
8 | 7 | use Spatie\EventProjector\Projectors\Projector; |
8 | +use Spatie\EventProjector\Snapshots\Snapshot; |
|
9 | 9 | |
10 | 10 | class CouldNotCreateSnapshot extends Exception |
11 | 11 | { |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Carbon\Carbon; |
6 | 6 | use Illuminate\Support\Collection; |
7 | -use Spatie\EventProjector\Models\StoredEvent; |
|
8 | -use Spatie\EventProjector\Models\ProjectorStatus; |
|
9 | 7 | use Spatie\EventProjector\EventHandlers\HandlesEvents; |
10 | 8 | use Spatie\EventProjector\Exceptions\CouldNotResetProjector; |
9 | +use Spatie\EventProjector\Models\ProjectorStatus; |
|
10 | +use Spatie\EventProjector\Models\StoredEvent; |
|
11 | 11 | |
12 | 12 | trait ProjectsEvents |
13 | 13 | { |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Support\Collection; |
6 | 6 | use Illuminate\Support\Facades\DB; |
7 | +use Spatie\EventProjector\Models\ProjectorStatus; |
|
7 | 8 | use Spatie\EventProjector\Models\StoredEvent; |
8 | 9 | use Spatie\EventProjector\Projectors\Projector; |
9 | -use Spatie\EventProjector\Models\ProjectorStatus; |
|
10 | 10 | |
11 | 11 | trait ReplaysEvents |
12 | 12 | { |
@@ -5,9 +5,9 @@ |
||
5 | 5 | use Carbon\Carbon; |
6 | 6 | use Illuminate\Console\Command; |
7 | 7 | use Illuminate\Support\Collection; |
8 | +use Spatie\EventProjector\Models\ProjectorStatus; |
|
8 | 9 | use Spatie\EventProjector\Projectionist; |
9 | 10 | use Spatie\EventProjector\Projectors\Projector; |
10 | -use Spatie\EventProjector\Models\ProjectorStatus; |
|
11 | 11 | |
12 | 12 | class ListCommand extends Command |
13 | 13 | { |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Console; |
4 | 4 | |
5 | 5 | use Illuminate\Console\Command; |
6 | -use Spatie\EventProjector\Projectionist; |
|
7 | 6 | use Spatie\EventProjector\Console\Concerns\ReplaysEvents; |
8 | 7 | use Spatie\EventProjector\Console\Concerns\SelectsProjectors; |
8 | +use Spatie\EventProjector\Projectionist; |
|
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\Projectionist; |
|
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\Projectionist; |
|
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\Projectionist; |
|
7 | 6 | use Spatie\EventProjector\Console\Concerns\SelectsProjectors; |
7 | +use Spatie\EventProjector\Projectionist; |
|
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\Projectionist; |
8 | +use Spatie\EventProjector\Projectors\Projector; |
|
9 | 9 | |
10 | 10 | class ProjectorStatus extends Model |
11 | 11 | { |
@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Illuminate\Support\Collection; |
7 | -use Spatie\EventProjector\Models\StoredEvent; |
|
8 | 7 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
8 | +use Spatie\EventProjector\Models\StoredEvent; |
|
9 | 9 | |
10 | 10 | trait HandlesEvents |
11 | 11 | { |