PHP Класс AppserverIo\Appserver\PersistenceContainer\Doctrine\EntityManagerFactory

Автор: Tim Wagner ([email protected])
Показать файл Открыть проект

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

Свойство Тип Описание
$metadataMapping array Mapping metadata type to factory method.

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

Метод Описание
factory ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : object Creates a new entity manager instance based on the passed configuration.

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

factory() публичный статический метод

Creates a new entity manager instance based on the passed configuration.
public static factory ( AppserverIo\Psr\Application\ApplicationInterface $application, AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface $persistenceUnitNode ) : object
$application AppserverIo\Psr\Application\ApplicationInterface The application instance to create the entity manager for
$persistenceUnitNode AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface The datasource configuration
Результат object The entity manager instance

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

$metadataMapping защищенное статическое свойство

Mapping metadata type to factory method.
protected static array $metadataMapping
Результат array