InfyOm\Generator\Commands\BaseCommand::getArguments PHP 메소드

getArguments() 보호된 메소드

Get the console command arguments.
protected getArguments ( ) : array
리턴 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(), []);
 }