1 | <?php |
||
31 | final class MigrateCommand |
||
32 | { |
||
33 | /** |
||
34 | * @var MigrationInterface |
||
35 | */ |
||
36 | private $migration; |
||
37 | |||
38 | /** |
||
39 | * @var OptionsInterface |
||
40 | */ |
||
41 | private $options; |
||
42 | |||
43 | /** |
||
44 | * @param MigrationInterface $migration |
||
45 | * @param OptionsInterface $options |
||
46 | */ |
||
47 | 24 | public function __construct(MigrationInterface $migration, OptionsInterface $options) |
|
52 | |||
53 | /** |
||
54 | * @return MigrationInterface |
||
55 | */ |
||
56 | 21 | public function getMigration() |
|
60 | |||
61 | /** |
||
62 | * @param MigrationInterface $migration |
||
63 | */ |
||
64 | 3 | public function setMigration(MigrationInterface $migration) |
|
68 | |||
69 | /** |
||
70 | * @return OptionsInterface |
||
71 | */ |
||
72 | 18 | public function getOptions() |
|
76 | |||
77 | /** |
||
78 | * @param OptionsInterface $options |
||
79 | */ |
||
80 | 1 | public function setOptions(OptionsInterface $options) |
|
84 | } |
||
85 |