updated stub

This commit is contained in:
Denis Duliçi 2021-08-22 22:33:49 +03:00
parent 37becb8dc1
commit 1cb30b48c6

View File

@ -3,8 +3,6 @@
namespace $NAMESPACE$; namespace $NAMESPACE$;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class $CLASS$ extends Command class $CLASS$ extends Command
{ {
@ -22,16 +20,6 @@ class $CLASS$ extends Command
*/ */
protected $description = 'Command description.'; protected $description = 'Command description.';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/** /**
* Execute the console command. * Execute the console command.
* *
@ -41,28 +29,4 @@ class $CLASS$ extends Command
{ {
// //
} }
/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['example', InputArgument::REQUIRED, 'An example argument.'],
];
}
/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null],
];
}
} }