mini\Http\Message\Uri::pathShorten() Method

protected static

Signature

protected static function pathShorten(string $path): string

Parameters

Name Type Default Description
$path string required Documentation missing

Returns

string

Documentation

Remove any /./ and resolve any /../ components of a path.

Source

src/Http/Message/UriTrait.php:540-578