| 1 | <?php |
||
| 7 | class CreateCommand extends Command |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $description = 'Create a migration file.'; |
||
| 11 | |||
| 12 | /** @var array */ |
||
| 13 | protected $arguments = [ |
||
| 14 | 'name' => 'the name for the migration', |
||
| 15 | ]; |
||
| 16 | |||
| 17 | /** @var \Wandu\Migrator\Migrator */ |
||
| 18 | protected $migrator; |
||
| 19 | |||
| 20 | public function __construct(Migrator $migrator) |
||
| 24 | |||
| 25 | public function execute() |
||
| 33 | } |
||
| 34 |