UriResolver
in package
Table of Contents
- relativize() : UriInterface
- removeDotSegments() : string|null
- resolve() : UriInterface|Uri
- __construct() : mixed
- getRelativePath() : string
Methods
relativize()
public
static relativize(UriInterface $base, UriInterface $target) : UriInterface
Parameters
- $base : UriInterface
- $target : UriInterface
Return values
UriInterface —removeDotSegments()
public
static removeDotSegments(mixed $path) : string|null
Parameters
- $path : mixed
Return values
string|null —resolve()
public
static resolve(UriInterface $base, UriInterface $rel) : UriInterface|Uri
Parameters
- $base : UriInterface
- $rel : UriInterface
Return values
UriInterface|Uri —__construct()
private
__construct() : mixed
Return values
mixed —getRelativePath()
private
static getRelativePath(UriInterface $base, UriInterface $target) : string
Parameters
- $base : UriInterface
- $target : UriInterface