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

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

registerGlobalIgnoredAnnotations()

Register globally ignored annotations

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct(Application $app, Configuration $configuration, Repository $configRepository)

Constructor

Parameters

Application $app
Configuration $configuration
Repository $configRepository

setConfigRepository(Repository $configRepository)

Set configRepository

Parameters

Repository $configRepository

Repository getConfigRepository()

Get configRepository

Return Value

Repository

getConfiguration()

Add driverChain and get orm config

MappingDriverChain getMetadataDriverImpl()

Return Value

MappingDriverChain

protected registerGlobalIgnoredAnnotations()

Register globally ignored annotations