src/Dev/Install/InstallConfig.php
protected function getDatabaseClass($databaseClasses)
    {
        $envDatabase = Environment::getEnv('SS_DATABASE_CLASS');
        if ($envDatabase) {
            return $envDatabase;
        }

        // Check supported versions
        foreach ($this->preferredDatabases as $candidate) {
            if (!empty($databaseClasses[$candidate]['supported'])) {
                return $candidate;
            }
        }
        return null;
    }
protected function getDatabaseClass($databaseClasses)
    {
        $envDatabase = Environment::getEnv('SS_DATABASE_CLASS');
        if ($envDatabase) {
            return $envDatabase;
        }

        // Check supported versions
        foreach ($this->preferredDatabases as $candidate) {
            if (!empty($databaseClasses[$candidate]['supported'])) {
                return $candidate;
            }
        }
        return null;
    }
protected function getDatabaseClass ( $ databaseClasses ) { $ envDatabase = Environment :: getEnv ( 'SS_DATABASE_CLASS' ) ; if ( $ envDatabase ) { return $ envDatabase ; } // Check supported versions foreach ( $ this -> preferredDatabases as $ candidate ) { if ( ! empty ( $ databaseClasses [ $ candidate ] [ 'supported' ] ) ) { return $ candidate ; } } return null ; }
Database configs available for configuration

@param array $databaseClasses
@return string
Database configs available for configuration