1 | <?php |
||
12 | class CheckCommand extends BaseCommand |
||
13 | { |
||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $signature = 'env:check {--src=} {--dest=} {--reverse}'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Check if your envs files are in sync'; |
||
27 | |||
28 | /** |
||
29 | * @var SyncService |
||
30 | */ |
||
31 | private $sync; |
||
32 | |||
33 | |||
34 | /** |
||
35 | * Create a new command instance. |
||
36 | * |
||
37 | * @param SyncService $sync |
||
38 | */ |
||
39 | 7 | public function __construct(SyncService $sync) |
|
44 | |||
45 | /** |
||
46 | * Execute the console command. |
||
47 | * |
||
48 | * @return mixed |
||
49 | */ |
||
50 | 3 | public function handle() |
|
77 | } |
||
78 |