Method | Description | |
---|---|---|
__construct ( string $uri = '' ) | ||
__toString ( ) : string | ||
getFragment ( ) : string | ||
getHost ( ) : string | ||
getPassword ( ) : string | ||
getPath ( ) : string | ||
getPort ( ) : integer | ||
getQueryValue ( string $name ) : string | ||
getQueryValueAsArray ( string $name ) : array | ||
getQueryValues ( ) : array | ||
getScheme ( ) : string | ||
getUser ( ) : string | ||
hasQueryValue ( string $name ) : boolean | ||
withAddedQueryValue ( string $name, $value ) : Icicle\Http\Message\Uri | ||
withFragment ( string $fragment = null ) : Icicle\Http\Message\Uri | ||
withHost ( string $host = null ) : Icicle\Http\Message\Uri | ||
withPath ( string $path = null ) : Icicle\Http\Message\Uri | ||
withPort ( integer $port = null ) : Icicle\Http\Message\Uri | ||
withQuery ( string $query = null ) : Icicle\Http\Message\Uri | ||
withQueryValue ( string $name, $value ) : Icicle\Http\Message\Uri | ||
withScheme ( string $scheme = null ) : Icicle\Http\Message\Uri | ||
withUser ( string $user, string $password = null ) : Icicle\Http\Message\Uri | ||
withoutQueryValue ( string $name ) : Icicle\Http\Message\Uri |
Method | Description | |
---|---|---|
encodeAuthority ( ) : string | ||
encodePath ( ) : string | ||
encodeQuery ( ) : string | ||
filterPort ( integer $port = null ) : integer | ||
filterScheme ( string $scheme = null ) : string | ||
filterValue ( mixed | mixed[] $values ) : array | Converts a given query value to an integer-indexed array of strings. | |
getPortForScheme ( ) : integer | Returns the default port for the current scheme or null if no scheme is set. | |
parseFragment ( string $fragment = null ) : string | ||
parsePath ( string $path = null ) : string | ||
parseQuery ( string $query = null ) : array | ||
parseQueryPair ( string $data ) : array |
Method | Description | |
---|---|---|
parseUri ( string $uri ) |
protected filterPort ( integer $port = null ) : integer | ||
$port | integer | |
return | integer |
protected filterScheme ( string $scheme = null ) : string | ||
$scheme | string | |
return | string |
protected filterValue ( mixed | mixed[] $values ) : array | ||
$values | mixed | mixed[] | |
return | array |
protected getPortForScheme ( ) : integer | ||
return | integer |
public getQueryValue ( string $name ) : string | ||
$name | string | |
return | string |
public getQueryValueAsArray ( string $name ) : array | ||
$name | string | |
return | array |
public hasQueryValue ( string $name ) : boolean | ||
$name | string | |
return | boolean |
protected parseFragment ( string $fragment = null ) : string | ||
$fragment | string | |
return | string |
protected parseQuery ( string $query = null ) : array | ||
$query | string | |
return | array |
protected parseQueryPair ( string $data ) : array | ||
$data | string | |
return | array |
public withAddedQueryValue ( string $name, $value ) : Icicle\Http\Message\Uri | ||
$name | string | |
return | Icicle\Http\Message\Uri |
public withFragment ( string $fragment = null ) : Icicle\Http\Message\Uri | ||
$fragment | string | |
return | Icicle\Http\Message\Uri |
public withQueryValue ( string $name, $value ) : Icicle\Http\Message\Uri | ||
$name | string | |
return | Icicle\Http\Message\Uri |
public withScheme ( string $scheme = null ) : Icicle\Http\Message\Uri | ||
$scheme | string | |
return | Icicle\Http\Message\Uri |
public withoutQueryValue ( string $name ) : Icicle\Http\Message\Uri | ||
$name | string | |
return | Icicle\Http\Message\Uri |