public function getDsn()
    {
        if ($this->rawConfig['dsn']) {
            return $this->rawConfig['dsn'];
        }

        if (isset($this->connectionStrings[$this->getType()])) {
            return $this->connectionStrings[$this->getType()]->getDsn();
        }
    }
public function getDsn()
    {
        if ($this->rawConfig['dsn']) {
            return $this->rawConfig['dsn'];
        }

        if (isset($this->connectionStrings[$this->getType()])) {
            return $this->connectionStrings[$this->getType()]->getDsn();
        }
    }
public function getDsn ( ) { if ( $ this -> rawConfig [ 'dsn' ] ) { return $ this -> rawConfig [ 'dsn' ] ; } if ( isset ( $ this -> connectionStrings [ $ this -> getType ( ) ] ) ) { return $ this -> connectionStrings [ $ this -> getType ( ) ] -> getDsn ( ) ; } }
Get Database DSN.

@return string DSN
Get Database DSN .