Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
55 | public function __invoke(Route $route, AdapterInterface $console) |
||
56 | { |
||
57 | foreach ($this->getMigrationsConfig() as $key => $params) |
||
58 | { |
||
59 | $migrateCommand = $this->getMigrateCommand(); |
||
60 | $migrateRoute = new Route('migrations:migrate', 'migrations:migrate ' . $key); |
||
61 | $migrateCommand($migrateRoute, $console); |
||
62 | } |
||
63 | } |
||
64 | } |