ConfigurationFile
in package
implements
EntityManagerLoader
FinalYes
This class will return an EntityManager instance, loaded from a configuration file provided as argument.
Table of Contents
Interfaces
- EntityManagerLoader
Properties
- $filename : string
Methods
- __construct() : mixed
- getEntityManager() : EntityManagerInterface
- Read the input and return a Configuration, returns null if the config is not supported.
Properties
$filename
private
string
$filename
Methods
__construct()
public
__construct(string $filename) : mixed
Parameters
- $filename : string
getEntityManager()
Read the input and return a Configuration, returns null if the config is not supported.
public
getEntityManager([string|null $name = null ]) : EntityManagerInterface
Parameters
- $name : string|null = null