whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
nwidart
/
laravel-modules
/
src
/
Commands
/
stubs
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/nwidart/laravel-modules/src/Commands/stubs/command.stub
<?php namespace $NAMESPACE$; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; class $CLASS$ extends Command { /** * The name and signature of the console command. */ protected $signature = '$COMMAND_NAME$'; /** * The console command description. */ protected $description = 'Command description.'; /** * Create a new command instance. */ public function __construct() { parent::__construct(); } /** * Execute the console command. */ public function handle() { // } /** * Get the console command arguments. */ protected function getArguments(): array { return [ ['example', InputArgument::REQUIRED, 'An example argument.'], ]; } /** * Get the console command options. */ protected function getOptions(): array { return [ ['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null], ]; } }
Copyright ©2021 || Defacer Indonesia