class EntityManagerFactory implements EntityManagerFactoryInterface (View source)

Properties

protected CachedReader $cachedAnnotationsReader

Contains the cached AnnotationReader which is used by all packages using Doctrine entities with annotations as mapping information for a concrete version > 8.0.0

protected CachedReader $cachedSimpleAnnotationsReader

Contains the cached SimpleAnnotationReader which is used by all packages using doctrine entities with annotations for a concrete version less than 8.0.0

protected EntityManagerConfigFactoryInterface $configFactory

Factory for bootstraping the doctrine orm configuration

Methods

__construct(EntityManagerConfigFactoryInterface $configFactory)

Constructor

create(Connection $connection)

Create EntityManager

Details

__construct(EntityManagerConfigFactoryInterface $configFactory)

Constructor

Parameters

EntityManagerConfigFactoryInterface $configFactory

create(Connection $connection)

Create EntityManager

Parameters

Connection $connection