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