PHP 클래스 AppserverIo\Appserver\PersistenceContainer\Doctrine\EntityManagerFactory

파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$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