메소드 | 설명 | |
---|---|---|
__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. |
public __destruct ( ) |
public getConnection ( ) : Doctrine\DBAL\Connection | ||
리턴 | Doctrine\DBAL\Connection | The connection instance |
public getWrapped ( ) : Doctrine\ORM\EntityManagerInterface | ||
리턴 | Doctrine\ORM\EntityManagerInterface | The wrapped entity manager instance |