public static function normalize(string $path): string {
		if (!(false === strpos($path, '://'))) {
			$ex = explode("://", $path);

			return $ex[0] . "://" . "/" . ltrim(Util::normalizePath("/" . ltrim($ex[1], "/")));
		}

		return "/" . ltrim(Util::normalizePath($path), "/");
	}
public static function normalize(string $path): string {
		if (!(false === strpos($path, '://'))) {
			$ex = explode("://", $path);

			return $ex[0] . "://" . "/" . ltrim(Util::normalizePath("/" . ltrim($ex[1], "/")));
		}

		return "/" . ltrim(Util::normalizePath($path), "/");
	}
public static function normalize ( string $ path ) : string { if ( ! ( false === strpos ( $ path , '://' ) ) ) { $ ex = explode ( "://" , $ path ) ; return $ ex [ 0 ] . "://" . "/" . ltrim ( Util :: normalizePath ( "/" . ltrim ( $ ex [ 1 ] , "/" ) ) ) ; } return "/" . ltrim ( Util :: normalizePath ( $ path ) , "/" ) ; }
Normalize a path

@param   string $path path

@return  string  normalized path
Normalize a path