src/Core.php
protected static function generateDSN()
        {
            $dsn = self::getDriver() . ":host=" . self::getHostname();
            if (self::getPort()) {
                $dsn .= ';port=' . self::getPort();
            }
            $dsn .= ';dbname=' . self::getDatabaseName();
            self::$dsn = $dsn;
        }
protected static function generateDSN()
        {
            $dsn = self::getDriver() . ":host=" . self::getHostname();
            if (self::getPort()) {
                $dsn .= ';port=' . self::getPort();
            }
            $dsn .= ';dbname=' . self::getDatabaseName();
            self::$dsn = $dsn;
        }
protected static function generateDSN ( ) { $ dsn = self :: getDriver ( ) . ":host=" . self :: getHostname ( ) ; if ( self :: getPort ( ) ) { $ dsn .= ';port=' . self :: getPort ( ) ; } $ dsn .= ';dbname=' . self :: getDatabaseName ( ) ; self :: $ dsn = $ dsn ; }
Generate the DSN when needed
Generate the DSN when needed