Property | Type | Description | |
---|---|---|---|
$value |
Method | Description | |
---|---|---|
__construct ( string $value ) | Constructor. | |
__toString ( ) : string | To string implementation. | |
buildUrl ( |
Build a UrlObject from array parts. | |
getDomain ( ) : string | boolean | Get the domain name of the current url. | |
getHost ( ) : boolean | string | Get host name, without trailing slash. | |
getPath ( boolean $asStringObject = false ) : string | |
Get the path from the current url. | |
getPort ( ) : boolean | integer | Get port number. | |
getQuery ( ) : array | Get query params as an array from current object. | |
getScheme ( ) : boolean | string | Get scheme (eg. http). | |
val ( null | string $url = null ) : mixed | Return, or update, current standard objects value. |
Method | Description | |
---|---|---|
getHeaderResponseString ( integer $headerCode ) : string | Get a string for the given header response code. | |
rebuildUrl ( ) | Builds url from current url elements. | |
validateUrl ( ) | Validates current url and parses data like scheme, host, query, and similar from, it. |
public __construct ( string $value ) | ||
$value | string |