Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | public function createMigrationInstance(Name $name, OutputInterface $output) |
||
19 | { |
||
20 | $migration = parent::createMigrationInstance($name, $output); |
||
21 | |||
22 | if ($migration instanceof ContainerAwareInterface) { |
||
23 | $migration->setContainer($this->container); |
||
24 | } |
||
25 | |||
26 | return $migration; |
||
27 | } |
||
28 | } |
||
29 |