@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Console; |
4 | 4 | |
5 | 5 | use Illuminate\Console\Command; |
6 | -use Illuminate\Support\Collection; |
|
7 | 6 | use Illuminate\Filesystem\Filesystem; |
8 | -use Spatie\EventProjector\Projectionist; |
|
7 | +use Illuminate\Support\Collection; |
|
9 | 8 | use Spatie\EventProjector\EventHandlers\EventHandler; |
9 | +use Spatie\EventProjector\Projectionist; |
|
10 | 10 | |
11 | 11 | final class CacheEventHandlersCommand extends Command |
12 | 12 | { |
@@ -5,15 +5,15 @@ |
||
5 | 5 | use Exception; |
6 | 6 | use Illuminate\Support\Arr; |
7 | 7 | use Illuminate\Support\Collection; |
8 | -use Spatie\EventProjector\Models\StoredEvent; |
|
9 | -use Spatie\EventProjector\Projectors\Projector; |
|
10 | 8 | use Spatie\EventProjector\EventHandlers\EventHandler; |
9 | +use Spatie\EventProjector\EventHandlers\EventHandlerCollection; |
|
10 | +use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent; |
|
11 | 11 | use Spatie\EventProjector\Events\FinishedEventReplay; |
12 | 12 | use Spatie\EventProjector\Events\StartingEventReplay; |
13 | -use Spatie\EventProjector\Projectors\QueuedProjector; |
|
14 | 13 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
15 | -use Spatie\EventProjector\EventHandlers\EventHandlerCollection; |
|
16 | -use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent; |
|
14 | +use Spatie\EventProjector\Models\StoredEvent; |
|
15 | +use Spatie\EventProjector\Projectors\Projector; |
|
16 | +use Spatie\EventProjector\Projectors\QueuedProjector; |
|
17 | 17 | |
18 | 18 | final class Projectionist |
19 | 19 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\EventProjector; |
4 | 4 | |
5 | -use SplFileInfo; |
|
6 | -use Illuminate\Support\Str; |
|
7 | 5 | use Illuminate\Support\Collection; |
8 | -use Symfony\Component\Finder\Finder; |
|
6 | +use Illuminate\Support\Str; |
|
9 | 7 | use Spatie\EventProjector\EventHandlers\EventHandler; |
8 | +use SplFileInfo; |
|
9 | +use Symfony\Component\Finder\Finder; |
|
10 | 10 | |
11 | 11 | final class DiscoverEventHandlers |
12 | 12 | { |