| 1 | <?php |
||
| 9 | class DownCommand extends Command |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | protected $description = 'Execute targeted rollback.'; |
||
| 13 | |||
| 14 | /** @var array */ |
||
| 15 | protected $arguments = [ |
||
| 16 | 'id' => 'the migrate id for the rollback', |
||
| 17 | ]; |
||
| 18 | |||
| 19 | /** @var \Wandu\Migrator\Migrator */ |
||
| 20 | protected $manager; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param \Wandu\Migrator\Migrator $manager |
||
| 24 | */ |
||
| 25 | public function __construct(Migrator $manager) |
||
| 29 | |||
| 30 | public function execute() |
||
| 36 | } |
||
| 37 |