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

상속: extends Doctrine\ORM\Decorator\EntityManagerDecorator
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
__destruct ( ) Closes the Doctrine connection if a wrapped instance is available
__sleep ( ) : array Sleep method to unset the PDO connection before serializing the entity manager instance.
getConnection ( ) : Doctrine\DBAL\Connection Returns the entity manager's connection instance.
getWrapped ( ) : Doctrine\ORM\EntityManagerInterface Returns the wrapped entity manager instance.

메소드 상세

__destruct() 공개 메소드

Closes the Doctrine connection if a wrapped instance is available
public __destruct ( )

__sleep() 공개 메소드

Sleep method to unset the PDO connection before serializing the entity manager instance.
public __sleep ( ) : array
리턴 array The array with the properties to serialize

getConnection() 공개 메소드

Returns the entity manager's connection instance.
public getConnection ( ) : Doctrine\DBAL\Connection
리턴 Doctrine\DBAL\Connection The connection instance

getWrapped() 공개 메소드

Returns the wrapped entity manager instance.
public getWrapped ( ) : Doctrine\ORM\EntityManagerInterface
리턴 Doctrine\ORM\EntityManagerInterface The wrapped entity manager instance