for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Rinvex\Subscriptions\Console\Commands;
use Illuminate\Console\Command;
class RollbackCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:rollback:subscriptions {--force : Force the operation to run when in production.}';
* The console command description.
protected $description = 'Rollback Rinvex Subscriptions Tables.';
* Execute the console command.
* @return void
public function handle(): void
$this->warn($this->description);
$this->call('migrate:reset', ['--path' => 'vendor/rinvex/subscriptions/database/migrations', '--force' => $this->option('force')]);
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.
}
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.