1 | <?php |
||
14 | class MigrateAllCommand |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Configurations |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | private $configurations; |
||
23 | |||
24 | /** |
||
25 | * Migrations |
||
26 | * |
||
27 | * @var array |
||
28 | */ |
||
29 | private $migrations; |
||
30 | |||
31 | /** |
||
32 | * Constructor |
||
33 | * |
||
34 | * @param array $configurations |
||
35 | * @param array $migrations |
||
36 | */ |
||
37 | public function __construct(array $configurations, array $migrations) |
||
42 | |||
43 | /** |
||
44 | * Get configurations |
||
45 | * |
||
46 | * return array |
||
47 | */ |
||
48 | public function getConfigurations() |
||
52 | |||
53 | /** |
||
54 | * Get migrations |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getMigrations() |
||
62 | |||
63 | /** |
||
64 | * Invoke |
||
65 | * |
||
66 | * @param Route $route |
||
67 | * @param AdapterInterface $console |
||
68 | */ |
||
69 | public function __invoke(Route $route, AdapterInterface $console) |
||
84 | } |