public static function getDSN($driver) { if ($dsn = getenv('DB_' . strtoupper($driver) . '_DSN')) { return $dsn; } }