InfyOm\Generator\Commands\BaseCommand::getArguments PHP Method

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array
    protected function getArguments()
    {
        return [['model', InputArgument::REQUIRED, 'Singular Model name']];
    }

Usage Example

 /**
  * Get the console command arguments.
  *
  * @return array
  */
 protected function getArguments()
 {
     return array_merge(parent::getArguments(), []);
 }