ConfigurationFile
in package
implements
EntityManagerLoader
This class will return an EntityManager instance, loaded from a configuration file provided as argument.
Interfaces, Classes, Traits and Enums
- EntityManagerLoader
Table of Contents
- $filename : string
- __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
Return values
mixed —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