final class ConnectionFactory (View source)

Connection factory for Doctrine connection class

Properties

protected EntityManagerInterface $entityManager

Methods

Connection
create()

Factory method which creates an Connection from the injected EntityManager.

Details

Connection create()

Factory method which creates an Connection from the injected EntityManager.

This ensure, that configured database and similar settings from Neos.Flow.persistence.doctrine is registered as expected

Return Value

Connection