|
5 | 5 | namespace DragonCode\LaravelDeployOperations\Processors;
|
6 | 6 |
|
7 | 7 | use Closure;
|
8 |
| -use DragonCode\LaravelDeployOperations\Concerns\Artisan; |
| 8 | +use DragonCode\LaravelDeployOperations\Concerns\HasArtisan; |
9 | 9 | use DragonCode\LaravelDeployOperations\Enums\MethodEnum;
|
10 |
| -use DragonCode\LaravelDeployOperations\Helpers\Config; |
11 |
| -use DragonCode\LaravelDeployOperations\Helpers\Git; |
12 |
| -use DragonCode\LaravelDeployOperations\Helpers\Sorter; |
| 10 | +use DragonCode\LaravelDeployOperations\Helpers\ConfigHelper; |
| 11 | +use DragonCode\LaravelDeployOperations\Helpers\GitHelper; |
| 12 | +use DragonCode\LaravelDeployOperations\Helpers\SorterHelper; |
13 | 13 | use DragonCode\LaravelDeployOperations\Notifications\Notification;
|
14 | 14 | use DragonCode\LaravelDeployOperations\Repositories\OperationsRepository;
|
15 |
| -use DragonCode\LaravelDeployOperations\Services\Migrator; |
16 |
| -use DragonCode\LaravelDeployOperations\Values\Options; |
| 15 | +use DragonCode\LaravelDeployOperations\Services\MigratorService; |
| 16 | +use DragonCode\LaravelDeployOperations\Values\OptionsData; |
17 | 17 | use DragonCode\Support\Facades\Helpers\Arr;
|
18 | 18 | use DragonCode\Support\Facades\Helpers\Str;
|
19 | 19 | use DragonCode\Support\Filesystem\File;
|
|
25 | 25 |
|
26 | 26 | abstract class Processor
|
27 | 27 | {
|
28 |
| - use Artisan; |
| 28 | + use HasArtisan; |
29 | 29 |
|
30 | 30 | abstract public function handle(): void;
|
31 | 31 |
|
32 | 32 | public function __construct(
|
33 |
| - protected Options $options, |
| 33 | + protected OptionsData $options, |
34 | 34 | protected InputInterface $input,
|
35 | 35 | protected OutputStyle $output,
|
36 |
| - protected Config $config, |
| 36 | + protected ConfigHelper $config, |
37 | 37 | protected OperationsRepository $repository,
|
38 |
| - protected Git $git, |
| 38 | + protected GitHelper $git, |
39 | 39 | protected File $file,
|
40 |
| - protected Migrator $migrator, |
| 40 | + protected MigratorService $migrator, |
41 | 41 | protected Notification $notification,
|
42 | 42 | protected Dispatcher $events,
|
43 |
| - protected Sorter $sorter |
| 43 | + protected SorterHelper $sorter |
44 | 44 | ) {
|
45 | 45 | $this->notification->setOutput($this->output, $this->options->mute);
|
46 | 46 | $this->repository->setConnection($this->options->connection);
|
|
0 commit comments