| 1 | <?php |
||
| 15 | final class ConfigurationFile implements EntityManagerLoader |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | private $filename; |
||
| 19 | |||
| 20 | 4 | public function __construct(string $filename) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Read the input and return a Configuration, returns null if the config |
||
| 27 | * is not supported. |
||
| 28 | * |
||
| 29 | * @throws InvalidConfiguration |
||
| 30 | */ |
||
| 31 | 4 | public function getEntityManager() : EntityManagerInterface |
|
| 49 | } |
||
| 50 |