1 | <?php |
||
7 | class MakeMigration extends YarakCommand |
||
8 | { |
||
9 | /** |
||
10 | * The command signature. |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $signature = 'make:migration |
||
15 | {name : The name of your migration, words separated by underscores.} |
||
16 | {--c|create= : The name of the table to create.}'; |
||
17 | |||
18 | /** |
||
19 | * The command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Create a new migration file.'; |
||
24 | |||
25 | /** |
||
26 | * Handle the command. |
||
27 | */ |
||
28 | protected function handle() |
||
36 | |||
37 | /** |
||
38 | * Get a the migration creator class. |
||
39 | * |
||
40 | * @return Yarak\Migrations\MigrationCreator |
||
41 | */ |
||
42 | protected function getCreator() |
||
50 | } |
||
51 |