Primo Committ
This commit is contained in:
18
vendor/spatie/laravel-backup/src/Commands/BaseCommand.php
vendored
Normal file
18
vendor/spatie/laravel-backup/src/Commands/BaseCommand.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\Backup\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Spatie\Backup\Helpers\ConsoleOutput;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
abstract class BaseCommand extends Command
|
||||
{
|
||||
public function run(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
app(ConsoleOutput::class)->setOutput($this);
|
||||
|
||||
return parent::run($input, $output);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user