1 | <?php |
||
11 | class MakeEntity extends CommandAbstract |
||
12 | { |
||
13 | /** |
||
14 | * The name and signature of the console command. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $signature = 'make:entity {entity} {--schema=name:string} {--migrate} {--git} {--ide=}'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Make Entity'; |
||
26 | |||
27 | /** |
||
28 | * The Schema object. |
||
29 | * |
||
30 | * @var Schema |
||
31 | */ |
||
32 | public $schema; |
||
33 | |||
34 | /** |
||
35 | * Execute the console command. |
||
36 | * |
||
37 | * @return mixed |
||
38 | */ |
||
39 | public function handle() |
||
47 | |||
48 | private function loadSchema() |
||
53 | |||
54 | private function loadNaming() |
||
71 | |||
72 | private function loadServices() |
||
87 | |||
88 | private function getServicesToBeExecuted(): array |
||
96 | |||
97 | private function executeService(ServiceInterface $service) |
||
101 | } |
||
102 |