1 | <?php |
||
13 | class DoctrineMigrationsCollection implements CheckCollectionInterface |
||
14 | { |
||
15 | /** |
||
16 | * DI Container |
||
17 | * |
||
18 | * @var ContainerInterface |
||
19 | */ |
||
20 | private $container; |
||
21 | |||
22 | /** |
||
23 | * Doctrine connection registry |
||
24 | * |
||
25 | * @var ConnectionRegistry |
||
26 | */ |
||
27 | private $connectionRegistry; |
||
28 | |||
29 | /** |
||
30 | * Available checks |
||
31 | * |
||
32 | * @var CheckInterface[] |
||
33 | */ |
||
34 | private $checks; |
||
35 | |||
36 | /** |
||
37 | * Migrations configuration |
||
38 | * |
||
39 | * @var array |
||
40 | */ |
||
41 | private $migrations; |
||
42 | |||
43 | /** |
||
44 | * DoctrineMigrationsCollection constructor. |
||
45 | * |
||
46 | * @param ContainerInterface $container DI container |
||
47 | * @param ConnectionRegistry $connectionRegistry Connections registry |
||
48 | * @param array[] $migrations Migrations configuration |
||
49 | */ |
||
50 | public function __construct( |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function getChecks() |
||
86 | } |
||
87 |