You are here

public static function Uri::removeDotSegments in Lockr 7.3

Removes dot segments from a path and returns the new path.

Parameters

string $path:

Return value

string

Deprecated

since version 1.4. Use UriResolver::removeDotSegments instead.

See also

UriResolver::removeDotSegments

File

vendor/guzzlehttp/psr7/src/Uri.php, line 266

Class

Uri
PSR-7 URI implementation.

Namespace

GuzzleHttp\Psr7

Code

public static function removeDotSegments($path) {
  return UriResolver::removeDotSegments($path);
}