Method | Description | |
---|---|---|
__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 | ||
return | Doctrine\DBAL\Connection | The connection instance |
public getWrapped ( ) : Doctrine\ORM\EntityManagerInterface | ||
return | Doctrine\ORM\EntityManagerInterface | The wrapped entity manager instance |