src/EntityManager/EntityManagerFactory.php
public function createEntityManager(array $dbParams, Configuration $doctrineConfig): EntityManagerInterface
    {
        $entityManager = EntityManager::create($dbParams, $doctrineConfig);

        return new EntityFactoryManagerDecorator($entityManager);
    }
public function createEntityManager(array $dbParams, Configuration $doctrineConfig): EntityManagerInterface
    {
        $entityManager = EntityManager::create($dbParams, $doctrineConfig);

        return new EntityFactoryManagerDecorator($entityManager);
    }
public function createEntityManager ( array $ dbParams , Configuration $ doctrineConfig ) : EntityManagerInterface { $ entityManager = EntityManager :: create ( $ dbParams , $ doctrineConfig ) ; return new EntityFactoryManagerDecorator ( $ entityManager ) ; }
This is used to create the Entity manager. You can override this if there are any calls you wish to make on it
after it has been created

@param array         $dbParams
@param Configuration $doctrineConfig

@return EntityManagerInterface
@throws \Doctrine\ORM\ORMException
@SuppressWarnings(PHPMD.StaticAccess)
This is used to create the Entity manager . You can override this if there are any calls you wish to make on it after it has been created