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