| 1 | <?php |
||
| 8 | class MigrateCreateCommand extends Command |
||
| 9 | { |
||
| 10 | /** @var string */ |
||
| 11 | protected $description = 'Create a migration file.'; |
||
| 12 | |||
| 13 | /** @var array */ |
||
| 14 | protected $arguments = [ |
||
| 15 | 'name' => 'the name for the migration', |
||
| 16 | ]; |
||
| 17 | |||
| 18 | /** @var \Wandu\DI\ContainerInterface */ |
||
| 19 | protected $container; |
||
| 20 | |||
| 21 | /** @var \Wandu\Database\Migrator\MigrateCreator */ |
||
| 22 | protected $creator; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \Wandu\DI\ContainerInterface $container |
||
| 26 | * @param \Wandu\Database\Migrator\MigrateCreator $creator |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 35 | |||
| 36 | public function execute() |
||
| 44 | } |
||
| 45 |