1 | <?php namespace Limoncello\Data\Migrations; |
||
25 | class MigrationContext implements MigrationContextInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $modelClass; |
||
31 | |||
32 | /** |
||
33 | * @var ModelSchemaInfoInterface |
||
34 | */ |
||
35 | private $modelSchemas; |
||
36 | |||
37 | /** |
||
38 | * @param string $modelClass |
||
39 | * @param ModelSchemaInfoInterface $modelSchemas |
||
40 | */ |
||
41 | 2 | public function __construct(string $modelClass, ModelSchemaInfoInterface $modelSchemas) |
|
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 2 | public function getModelClass(): string |
|
54 | |||
55 | /** |
||
56 | * @return ModelSchemaInfoInterface |
||
57 | */ |
||
58 | 2 | public function getModelSchemas(): ModelSchemaInfoInterface |
|
62 | } |
||
63 |