| 1 | <?php |
||
| 7 | class RollbackCommand extends Command |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $description = 'Run rollback.'; |
||
| 11 | |||
| 12 | /** @var array */ |
||
| 13 | protected $arguments = [ |
||
| 14 | 'until?' => 'the migrate id for the rollback', |
||
| 15 | ]; |
||
| 16 | |||
| 17 | /** @var \Wandu\Migrator\Migrator */ |
||
| 18 | protected $manager; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Wandu\Migrator\Migrator $manager |
||
| 22 | */ |
||
| 23 | public function __construct(Migrator $manager) |
||
| 27 | |||
| 28 | public function execute() |
||
| 50 | } |
||
| 51 |