source/Setup/Database.php
public function getConnection()
    {
        if ($this->_oConn === null) {
            $this->_oConn = $this->openDatabase(null);
        }

        return $this->_oConn;
    }
public function getConnection()
    {
        if ($this->_oConn === null) {
            $this->_oConn = $this->openDatabase(null);
        }

        return $this->_oConn;
    }
public function getConnection ( ) { if ( $ this -> _oConn === null ) { $ this -> _oConn = $ this -> openDatabase ( null ) ; } return $ this -> _oConn ; }
Returns connection resource object

@return PDO
Returns connection resource object