An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true
if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative
to another URI, the base URI. Relative references can be divided into several forms:
- network-path references, e.g. '//example.com/path'
- absolute-path references, e.g. '/path'
- relative-path references, e.g. 'subpath'
public static isAbsolute ( Psr\Http\Message\UriInterface $uri ) : boolean | ||
$uri | Psr\Http\Message\UriInterface | |
return | boolean |