1 | <?php declare (strict_types = 1); |
||
27 | class MigrationContext implements MigrationContextInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $modelClass; |
||
33 | |||
34 | /** |
||
35 | * @var ModelSchemaInfoInterface |
||
36 | */ |
||
37 | private $modelSchemas; |
||
38 | |||
39 | /** |
||
40 | * @param string $modelClass |
||
41 | * @param ModelSchemaInfoInterface $modelSchemas |
||
42 | */ |
||
43 | 2 | public function __construct(string $modelClass, ModelSchemaInfoInterface $modelSchemas) |
|
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | 2 | public function getModelClass(): string |
|
56 | |||
57 | /** |
||
58 | * @return ModelSchemaInfoInterface |
||
59 | */ |
||
60 | 2 | public function getModelSchemas(): ModelSchemaInfoInterface |
|
64 | } |
||
65 |