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