| Total Complexity | 4 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class GraphQLScaffoldGeneratorCommand extends BaseCommand |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The console command name. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name = 'artomator:graphql_scaffold'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The console command description. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description = 'Create a full CRUD API and Scaffold for given model'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new command instance. |
||
| 25 | */ |
||
| 26 | public function __construct() |
||
| 27 | { |
||
| 28 | parent::__construct(); |
||
| 29 | |||
| 30 | $this->commandData = new CommandData($this, CommandData::$COMMAND_TYPE_API_SCAFFOLD); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Execute the command. |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function handle() |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the console command options. |
||
| 53 | * |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | public function getOptions() |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Get the console command arguments. |
||
| 63 | * |
||
| 64 | * @return array |
||
| 65 | */ |
||
| 66 | protected function getArguments() |
||
| 71 |