| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | abstract class AbstractMigrationRegistry implements MigrationRegistryInterface |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var ContainerInterface |
||
| 13 | */ |
||
| 14 | protected $container; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param ContainerInterface $container |
||
| 18 | */ |
||
| 19 | public function __construct(ContainerInterface $container) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param $class |
||
| 26 | * |
||
| 27 | * @return MigrationInterface |
||
| 28 | * @throws \Exception |
||
| 29 | */ |
||
| 30 | public function getMigration($class): MigrationInterface |
||
| 44 |