public function getDoctrineConnection()
    {
        $driver = $this->getDoctrineDriver();

        $data = array('pdo' => $this->pdo, 'dbname' => $this->getConfig('database'));

        return new DoctrineConnection($data, $driver);
    }
public function getDoctrineConnection()
    {
        $driver = $this->getDoctrineDriver();

        $data = array('pdo' => $this->pdo, 'dbname' => $this->getConfig('database'));

        return new DoctrineConnection($data, $driver);
    }
public function getDoctrineConnection ( ) { $ driver = $ this -> getDoctrineDriver ( ) ; $ data = array ( 'pdo' => $ this -> pdo , 'dbname' => $ this -> getConfig ( 'database' ) ) ; return new DoctrineConnection ( $ data , $ driver ) ; }
Get the Doctrine DBAL database connection instance.

@return \Doctrine\DBAL\Connection
Get the Doctrine DBAL database connection instance .