Class UrlParser
Parses URLs into parts using PHP's built-in parse_url() function
-
Guzzle\Parser\Url\UrlParser
implements
Guzzle\Parser\Url\UrlParserInterface
Methods summary
public
|
#
setUtf8Support( boolean $utf8 )
Set whether or not to attempt to handle UTF-8 strings (still WIP)
Set whether or not to attempt to handle UTF-8 strings (still WIP)
Parameters
- $utf8
boolean $utf8 Set to TRUE to handle UTF string
|
public
array
|
#
parseUrl( string $url )
Parse a URL using special handling for a subset of UTF-8 characters in the
query string if needed.
Parse a URL using special handling for a subset of UTF-8 characters in the
query string if needed.
Parameters
- $url
string $url URL to parse
Returns
array Returns an array identical to what is returned from parse_url(). When an array
key is missing from this array, you must fill it in with NULL to avoid warnings
in calling code.
Implementation of
|
Properties summary
protected
boolean
|
$utf8
|
false |
#
Whether or not to work with UTF-8 strings
Whether or not to work with UTF-8 strings
|