1 | <?php |
||
15 | class SchemaCrawlerCommand extends Command |
||
16 | { |
||
17 | /** |
||
18 | * The name and signature of the console command. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $signature = 'schema:generate {--output-file=schema.pdf} {--output-format=pdf} |
||
23 | {--connection=default} {--info-level=standard} {--command=schema}'; |
||
24 | |||
25 | /** |
||
26 | * The console command description. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $description = 'Generates diagram from the database'; |
||
31 | |||
32 | public function handle() |
||
37 | |||
38 | /** |
||
39 | * @return SchemaCrawlerArguments |
||
40 | */ |
||
41 | private function createArgumentsFromOptions(): SchemaCrawlerArguments |
||
51 | } |
||
52 |