diff --git a/src/Commands/BackupCommand.php b/src/Commands/BackupCommand.php index 126bdd83..6dba3b7c 100644 --- a/src/Commands/BackupCommand.php +++ b/src/Commands/BackupCommand.php @@ -3,13 +3,14 @@ namespace Spatie\Backup\Commands; use Exception; +use Illuminate\Contracts\Console\Isolatable; use Spatie\Backup\Events\BackupHasFailed; use Spatie\Backup\Exceptions\BackupFailed; use Spatie\Backup\Exceptions\InvalidCommand; use Spatie\Backup\Tasks\Backup\BackupJobFactory; use Spatie\Backup\Traits\Retryable; -class BackupCommand extends BaseCommand +class BackupCommand extends BaseCommand implements Isolatable { use Retryable; diff --git a/src/Commands/CleanupCommand.php b/src/Commands/CleanupCommand.php index 75dce2b6..fddbbe16 100644 --- a/src/Commands/CleanupCommand.php +++ b/src/Commands/CleanupCommand.php @@ -9,7 +9,7 @@ use Spatie\Backup\Tasks\Cleanup\CleanupStrategy; use Spatie\Backup\Traits\Retryable; -class CleanupCommand extends BaseCommand +class CleanupCommand extends BaseCommand implements Isolatable { use Retryable; diff --git a/src/Commands/MonitorCommand.php b/src/Commands/MonitorCommand.php index 09687f95..1c6bb782 100644 --- a/src/Commands/MonitorCommand.php +++ b/src/Commands/MonitorCommand.php @@ -6,7 +6,7 @@ use Spatie\Backup\Events\UnhealthyBackupWasFound; use Spatie\Backup\Tasks\Monitor\BackupDestinationStatusFactory; -class MonitorCommand extends BaseCommand +class MonitorCommand extends BaseCommand implements Isolatable { /** @var string */ protected $signature = 'backup:monitor';