private function constructPdoDsn(array $params)
    {
        $dsn = self::NAME . ':';
        if (isset($params['host']) && $params['host'] != '') {
            $dsn .= $params['host'];
        } else {
            $dsn .= 'localhost';
        }
        $dsn .= ':' . (isset($params['port']) ? $params['port'] : '4200');

        return $dsn;
    }
private function constructPdoDsn(array $params)
    {
        $dsn = self::NAME . ':';
        if (isset($params['host']) && $params['host'] != '') {
            $dsn .= $params['host'];
        } else {
            $dsn .= 'localhost';
        }
        $dsn .= ':' . (isset($params['port']) ? $params['port'] : '4200');

        return $dsn;
    }
private function constructPdoDsn ( array $ params ) { $ dsn = self :: NAME . ':' ; if ( isset ( $ params [ 'host' ] ) && $ params [ 'host' ] != '' ) { $ dsn .= $ params [ 'host' ] ; } else { $ dsn .= 'localhost' ; } $ dsn .= ':' . ( isset ( $ params [ 'port' ] ) ? $ params [ 'port' ] : '4200' ) ; return $ dsn ; }
Constructs the Crate PDO DSN.

@return string The DSN.
Constructs the Crate PDO DSN .