2024-04-29 08:41:52 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
|
2024-05-15 08:15:51 +00:00
|
|
|
use App\Jobs\ApacheBuild;
|
2024-04-29 08:41:52 +00:00
|
|
|
use App\Models\Domain;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
|
|
|
|
class RunDomainRepair extends Command
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The name and signature of the console command.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $signature = 'phyre:run-domain-repair';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The console command description.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $description = 'Command description';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Execute the console command.
|
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
2024-09-10 13:52:01 +00:00
|
|
|
$apacheBuild = new ApacheBuild(true);
|
2024-05-16 12:41:14 +00:00
|
|
|
$apacheBuild->handle();
|
2024-04-29 08:41:52 +00:00
|
|
|
}
|
|
|
|
}
|