for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Commands\DockerCompose;
use App\Commands\BaseCommand;
class SoftRestart extends BaseCommand
{
/**
* The signature of the command.
*
* @var string
*/
protected $signature = 'soft-restart {service?}';
* The description of the command.
protected $description = 'Soft restart containers (ignores after config changes)';
* Execute the console command.
* @return void
public function handle(): void
$this->porter->softRestart((string) $this->argument('service'));
}