Method | Description | |
---|---|---|
__construct ( $uri ) | ||
__toString ( ) | ||
canResolve ( $toResolve ) | Is the specified URI string resolvable against the current URI instance? | |
getAbsoluteUri ( ) | Retrieve the URI without the fragment component | |
getAllQueryParameters ( ) : array | ||
getAuthority ( $hiddenPass = true ) | ||
getFragment ( ) : string | ||
getHost ( ) : string | ||
getOriginalUri ( ) : array | ||
getPass ( ) : string | ||
getPath ( ) : string | ||
getPort ( ) : integer | ||
getQuery ( ) : string | ||
getQueryParameter ( string $parameter ) : string | ||
getScheme ( ) : string | ||
getUser ( ) : string | ||
hasQueryParameter ( string $parameter ) : boolean | ||
isIpV4 ( ) : boolean | ||
isIpV6 ( ) : boolean | ||
normalize ( ) : string | Normalizes the URI for maximal comparison success | |
resolve ( string $toResolve ) : |
Method | Description | |
---|---|---|
decodeReservedSubDelimiters ( $str ) | ||
decodeUnreservedCharacters ( $str ) | ||
mergePaths ( $basePath, $pathToMerge ) | ||
normalizeDefaultPort ( ) | "URI producers and normalizers should omit the port component and its ":" delimiter if port is empty or if its value would be the same as that of the scheme's default." | |
parse ( $uri ) | ||
parseQueryParameters ( ) | ||
reconstitute ( $scheme, $authority, $path, $query, $fragment ) | ||
removeDotSegments ( $input ) |
public canResolve ( $toResolve ) |
public getAbsoluteUri ( ) |
public getQueryParameter ( string $parameter ) : string | ||
$parameter | string | |
return | string |
public hasQueryParameter ( string $parameter ) : boolean | ||
$parameter | string | |
return | boolean |