PHP Класс Neos\Flow\Persistence\Doctrine\EntityManagerFactory

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$environment Neos\Flow\Utility\Environment
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$reflectionService Neos\Flow\Reflection\ReflectionService
$settings array

Открытые методы

Метод Описание
create ( ) : EntityManager Factory method which creates an EntityManager.
injectSettings ( array $settings ) : void Injects the Flow settings, the persistence part is kept for further use.

Защищенные методы

Метод Описание
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

Описание методов

applyDqlSettingsToConfiguration() защищенный Метод

At the moment, these are custom DQL functions.
protected applyDqlSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void
$configuredSettings array
$doctrineConfiguration Doctrine\ORM\Configuration
Результат void

applySecondLevelCacheSettingsToConfiguration() защищенный Метод

Apply configured settings regarding Doctrine's second level cache.
protected applySecondLevelCacheSettingsToConfiguration ( array $configuredSettings, Doctrine\ORM\Configuration $doctrineConfiguration ) : void
$configuredSettings array
$doctrineConfiguration Doctrine\ORM\Configuration
Результат void

buildEventManager() защищенный Метод

Add configured event subscribers and listeners to the event manager
protected buildEventManager ( ) : Doctrine\Common\EventManager
Результат Doctrine\Common\EventManager

create() публичный Метод

Factory method which creates an EntityManager.
public create ( ) : EntityManager
Результат Doctrine\ORM\EntityManager

injectSettings() публичный Метод

Injects the Flow settings, the persistence part is kept for further use.
public injectSettings ( array $settings ) : void
$settings array
Результат void

Описание свойств

$environment защищенное свойство

protected Environment,Neos\Flow\Utility $environment
Результат Neos\Flow\Utility\Environment

$objectManager защищенное свойство

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Результат Neos\Flow\ObjectManagement\ObjectManagerInterface

$reflectionService защищенное свойство

protected ReflectionService,Neos\Flow\Reflection $reflectionService
Результат Neos\Flow\Reflection\ReflectionService

$settings защищенное свойство

protected array $settings
Результат array