src/Database/PdoConnection.php
public function getDsn(): string
  {
    # Build the DSN
    $_dsn = $this->driver.':host='.$this->host.';port='.$this->port.';dbname='.$this->schema.';charset='.$this->charset;
    # Set it
    $this->setDsn($_dsn);

    return $this->pdo_dsn;
  }
public function getDsn(): string
  {
    # Build the DSN
    $_dsn = $this->driver.':host='.$this->host.';port='.$this->port.';dbname='.$this->schema.';charset='.$this->charset;
    # Set it
    $this->setDsn($_dsn);

    return $this->pdo_dsn;
  }
public function getDsn ( ) : string { # Build the DSN $ _dsn = $ this -> driver . ':host=' . $ this -> host . ';port=' . $ this -> port . ';dbname=' . $ this -> schema . ';charset=' . $ this -> charset ; # Set it $ this -> setDsn ( $ _dsn ) ; return $ this -> pdo_dsn ; }
Get DSN - Return the default formatted DSN

This method needs to be overridden in DB Driver specific files

@return string       [description]
Get DSN - Return the default formatted DSN