Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/PowerDNS/Domain/DeleteCommand.php
Show All 15 Lines | class DeleteCommand extends Command | ||||
/** | /** | ||||
* The console command description. | * The console command description. | ||||
* | * | ||||
* @var string | * @var string | ||||
*/ | */ | ||||
protected $description = 'Delete a PowerDNS domain'; | protected $description = 'Delete a PowerDNS domain'; | ||||
/** | /** | ||||
* Create a new command instance. | |||||
* | |||||
* @return void | |||||
*/ | |||||
public function __construct() | |||||
{ | |||||
parent::__construct(); | |||||
} | |||||
/** | |||||
* Execute the console command. | * Execute the console command. | ||||
* | * | ||||
* @return mixed | * @return mixed | ||||
*/ | */ | ||||
public function handle() | public function handle() | ||||
{ | { | ||||
$name = $this->argument('domain'); | $name = $this->argument('domain'); | ||||
Show All 9 Lines |