EntityManagerFactory
class EntityManagerFactory (View source)
EntityManager factory for Doctrine integration
Properties
protected ObjectManagerInterface | $objectManager | ||
protected ReflectionService | $reflectionService | ||
protected Environment | $environment | ||
protected array | $settings |
Methods
void
injectSettings(array $settings)
Injects the Flow settings, the persistence part is kept for further use.
EntityManager
create()
Factory method which creates an EntityManager.
emitBeforeDoctrineEntityManagerCreation(Connection $connection, Configuration $config, EventManager $eventManager)
No description
emitAfterDoctrineEntityManagerCreation(Configuration $config, EntityManager $entityManager)
No description
Details
void
injectSettings(array $settings)
Injects the Flow settings, the persistence part is kept for further use.
EntityManager
create()
Factory method which creates an EntityManager.
emitBeforeDoctrineEntityManagerCreation(Connection $connection, Configuration $config, EventManager $eventManager)
No description
emitAfterDoctrineEntityManagerCreation(Configuration $config, EntityManager $entityManager)
No description