1 | <?php |
||
10 | class YarakCommand extends Command |
||
11 | { |
||
12 | /** |
||
13 | * Application config. |
||
14 | * |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $configArray; |
||
18 | |||
19 | /** |
||
20 | * Construct. |
||
21 | * |
||
22 | * @param array $configArray |
||
23 | */ |
||
24 | public function __construct(array $configArray) |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Get an instance of the migrator. |
||
34 | * |
||
35 | * @param SymfonyOutput $symfonyOutput |
||
36 | * |
||
37 | * @return Migrator |
||
38 | */ |
||
39 | protected function getMigrator(SymfonyOutput $symfonyOutput) |
||
52 | |||
53 | /** |
||
54 | * Get the name of the migrator class. |
||
55 | * |
||
56 | * @param Config $config |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | protected function getMigratorClassName(Config $config) |
||
67 | |||
68 | /** |
||
69 | * Get an instance of MigrationRepository. |
||
70 | * |
||
71 | * @param Config $config |
||
72 | * |
||
73 | * @return Yarak\Migrations\MigrationRepository |
||
74 | */ |
||
75 | protected function getRepository(Config $config) |
||
84 | } |
||
85 |