Total Complexity | 4 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class GraphQLGeneratorCommand extends BaseCommand |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'artomator:graphql'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Create a full CRUD GraphQL for given model'; |
||
23 | |||
24 | /** |
||
25 | * Create a new command instance. |
||
26 | */ |
||
27 | public function __construct() |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Execute the command. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function handle() |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * Get the console command options. |
||
52 | * |
||
53 | * @return array |
||
54 | */ |
||
55 | public function getOptions() |
||
56 | { |
||
57 | return array_merge(parent::getOptions(), []); |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * Get the console command arguments. |
||
62 | * |
||
63 | * @return array |
||
64 | */ |
||
65 | protected function getArguments() |
||
68 | } |
||
69 | } |
||
70 |