EntityManagerConfigFactory
class EntityManagerConfigFactory implements ApplicationAwareInterface, EntityManagerConfigFactoryInterface (View source)
EntityManagerConfigFactory Responsible for bootstrapping the core concrete5 entity manager (Concrete\Core\Entity) and the application level entity manager. Sets the stage for the package entity manager once its time for them to come online.
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected Configuration | $configuration | Doctrine ORM config |
|
protected Repository | $configRepository | Concrete5 configuration files repository |
Methods
Constructor
Set configRepository
Get configRepository
Add driverChain and get orm config
No description
Register globally ignored annotations
Details
setApplication(Application $app)
Setter method for the application
__construct(Application $app, Configuration $configuration, Repository $configRepository)
Constructor
setConfigRepository(Repository $configRepository)
Set configRepository
Repository
getConfigRepository()
Get configRepository
getConfiguration()
Add driverChain and get orm config
MappingDriverChain
getMetadataDriverImpl()
No description
protected
registerGlobalIgnoredAnnotations()
Register globally ignored annotations