PHP Class Neos\Flow\Persistence\Doctrine\EntityManagerFactory

Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$environment Neos\Flow\Utility\Environment
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$reflectionService Neos\Flow\Reflection\ReflectionService
$settings array

Méthodes publiques

Méthode Description
create ( ) : EntityManager Factory method which creates an EntityManager.
injectSettings ( array $settings ) : void Injects the Flow settings, the persistence part is kept for further use.

Méthodes protégées

Méthode Description
applyDqlSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void Apply configured settings regarding DQL to the Doctrine Configuration.
applySecondLevelCacheSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void Apply configured settings regarding Doctrine's second level cache.
buildEventManager ( ) : Doctrine\Common\EventManager Add configured event subscribers and listeners to the event manager

Method Details

applyDqlSettingsToConfiguration() protected méthode

At the moment, these are custom DQL functions.
protected applyDqlSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void
$configuredSettings array
$doctrineConfiguration Doctrine\ORM\Configuration
Résultat void

applySecondLevelCacheSettingsToConfiguration() protected méthode

Apply configured settings regarding Doctrine's second level cache.
protected applySecondLevelCacheSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void
$configuredSettings array
$doctrineConfiguration Doctrine\ORM\Configuration
Résultat void

buildEventManager() protected méthode

Add configured event subscribers and listeners to the event manager
protected buildEventManager ( ) : Doctrine\Common\EventManager
Résultat Doctrine\Common\EventManager

create() public méthode

Factory method which creates an EntityManager.
public create ( ) : EntityManager
Résultat Doctrine\ORM\EntityManager

injectSettings() public méthode

Injects the Flow settings, the persistence part is kept for further use.
public injectSettings ( array $settings ) : void
$settings array
Résultat void

Property Details

$environment protected_oe property

protected Environment,Neos\Flow\Utility $environment
Résultat Neos\Flow\Utility\Environment

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Résultat Neos\Flow\ObjectManagement\ObjectManagerInterface

$reflectionService protected_oe property

protected ReflectionService,Neos\Flow\Reflection $reflectionService
Résultat Neos\Flow\Reflection\ReflectionService

$settings protected_oe property

protected array $settings
Résultat array