src/DAL.php
public function replaceConnection(iDAL $oConnection) : void
    {
        $this->dbConnection         = $oConnection->getCloneConnection();
        $this->dbPreparedStatment   = null;
        $this->dbType               = $oConnection->getDBType();
        $this->dbHost               = $oConnection->getDBHost();
        $this->dbName               = $oConnection->getDBName();
    }
public function replaceConnection(iDAL $oConnection) : void
    {
        $this->dbConnection         = $oConnection->getCloneConnection();
        $this->dbPreparedStatment   = null;
        $this->dbType               = $oConnection->getDBType();
        $this->dbHost               = $oConnection->getDBHost();
        $this->dbName               = $oConnection->getDBName();
    }
public function replaceConnection ( iDAL $ oConnection ) : void { $ this -> dbConnection = $ oConnection -> getCloneConnection ( ) ; $ this -> dbPreparedStatment = null ; $ this -> dbType = $ oConnection -> getDBType ( ) ; $ this -> dbHost = $ oConnection -> getDBHost ( ) ; $ this -> dbName = $ oConnection -> getDBName ( ) ; }
Substitui a conexão desta instância pela
do objeto passado.

@param       iDAL $oConnection
Objeto que contêm a conexão que passará a ser
usada por esta instância.

@return      void

@codeCoverageIgnore
Substitui a conexão desta instância pela do objeto passado .