public static function getDatabasePassword($driver) { if ($pass = getenv('DB_' . strtoupper($driver) . '_PASS')) { return $pass; } }