public function registerConnectionString(ConnectionStringInterface $connString, $driverName)
    {
        $this->connectionStrings[$driverName] = $connString;
        if (!in_array($driverName, $this->availableDrivers)) {
            $this->availableDrivers[] = $driverName;
        }
        $this->error->setMessage(null);
        $this->__buildConfig($this->rawConfig);
        $connString->setConfig($this);
    }
public function registerConnectionString(ConnectionStringInterface $connString, $driverName)
    {
        $this->connectionStrings[$driverName] = $connString;
        if (!in_array($driverName, $this->availableDrivers)) {
            $this->availableDrivers[] = $driverName;
        }
        $this->error->setMessage(null);
        $this->__buildConfig($this->rawConfig);
        $connString->setConfig($this);
    }
public function registerConnectionString ( ConnectionStringInterface $ connString , $ driverName ) { $ this -> connectionStrings [ $ driverName ] = $ connString ; if ( ! in_array ( $ driverName , $ this -> availableDrivers ) ) { $ this -> availableDrivers [ ] = $ driverName ; } $ this -> error -> setMessage ( null ) ; $ this -> __buildConfig ( $ this -> rawConfig ) ; $ connString -> setConfig ( $ this ) ; }
Register new Connection String.

@param \Realboard\Component\Database\DBInstance\DBInterface\ConnectionStringInterface $connString Connection String Class
@param string                                                                         $driverName Driver Alias eg (mysql, oci, pgsql, sqlite, firebird etc)

@return self
Register new Connection String .