Property | Type | Description | |
---|---|---|---|
$domain | ValueObjects\Web\Domain | ||
$fragmentIdentifier | ValueObjects\Web\FragmentIdentifier | ||
$password | ValueObjects\StringLiteral\StringLiteral | ||
$path | ValueObjects\Web\Path | ||
$port | ValueObjects\Web\PortNumber | ||
$queryString | ValueObjects\Web\QueryString | ||
$scheme | ValueObjects\Web\SchemeName | ||
$user | ValueObjects\StringLiteral\StringLiteral |
Method | Description | |
---|---|---|
__construct ( ValueObjects\Web\SchemeName $scheme, ValueObjects\StringLiteral\StringLiteral $user, ValueObjects\StringLiteral\StringLiteral $password, ValueObjects\Web\Domain $domain, PortNumberInterface $port, ValueObjects\Web\Path $path, ValueObjects\Web\QueryString $query, ValueObjects\Web\FragmentIdentifier $fragment ) | Returns a new Url object | |
__toString ( ) : string | Returns a string representation of the url | |
fromNative ( ) : |
Returns a new Url object from a native url string | |
getDomain ( ) : ValueObjects\Web\Hostname | ValueObjects\Web\IPAddress | Returns the domain of the Url | |
getFragmentIdentifier ( ) : ValueObjects\Web\FragmentIdentifier | Returns the fragment identifier of the Url | |
getPassword ( ) : ValueObjects\StringLiteral\StringLiteral | Returns the password part of the Url | |
getPath ( ) : ValueObjects\Web\Path | Returns the path of the Url | |
getPort ( ) : PortNumberInterface | Returns the port of the Url | |
getQueryString ( ) : ValueObjects\Web\QueryString | Returns the query string of the Url | |
getScheme ( ) : ValueObjects\Web\SchemeName | Returns the scheme of the Url | |
getUser ( ) : ValueObjects\StringLiteral\StringLiteral | Returns the user part of the Url | |
sameValueAs ( ValueObjects\ValueObjectInterface $url ) : boolean | Tells whether two Url are sameValueAs by comparing their components |
public __construct ( ValueObjects\Web\SchemeName $scheme, ValueObjects\StringLiteral\StringLiteral $user, ValueObjects\StringLiteral\StringLiteral $password, ValueObjects\Web\Domain $domain, PortNumberInterface $port, ValueObjects\Web\Path $path, ValueObjects\Web\QueryString $query, ValueObjects\Web\FragmentIdentifier $fragment ) | ||
$scheme | ValueObjects\Web\SchemeName | |
$user | ValueObjects\StringLiteral\StringLiteral | |
$password | ValueObjects\StringLiteral\StringLiteral | |
$domain | ValueObjects\Web\Domain | |
$port | PortNumberInterface | |
$path | ValueObjects\Web\Path | |
$query | ValueObjects\Web\QueryString | |
$fragment | ValueObjects\Web\FragmentIdentifier |
public __toString ( ) : string | ||
return | string |
public static fromNative ( ) : |
||
return |
public getDomain ( ) : ValueObjects\Web\Hostname | ValueObjects\Web\IPAddress | ||
return | ValueObjects\Web\Hostname | ValueObjects\Web\IPAddress |
public getFragmentIdentifier ( ) : ValueObjects\Web\FragmentIdentifier | ||
return | ValueObjects\Web\FragmentIdentifier |
public getPassword ( ) : ValueObjects\StringLiteral\StringLiteral | ||
return | ValueObjects\StringLiteral\StringLiteral |
public getPath ( ) : ValueObjects\Web\Path | ||
return | ValueObjects\Web\Path |
public getPort ( ) : PortNumberInterface | ||
return | PortNumberInterface |
public getQueryString ( ) : ValueObjects\Web\QueryString | ||
return | ValueObjects\Web\QueryString |
public getScheme ( ) : ValueObjects\Web\SchemeName | ||
return | ValueObjects\Web\SchemeName |
public getUser ( ) : ValueObjects\StringLiteral\StringLiteral | ||
return | ValueObjects\StringLiteral\StringLiteral |
public sameValueAs ( ValueObjects\ValueObjectInterface $url ) : boolean | ||
$url | ValueObjects\ValueObjectInterface | |
return | boolean |
protected Domain,ValueObjects\Web $domain | ||
return | ValueObjects\Web\Domain |
protected FragmentIdentifier,ValueObjects\Web $fragmentIdentifier | ||
return | ValueObjects\Web\FragmentIdentifier |
protected StringLiteral,ValueObjects\StringLiteral $password | ||
return | ValueObjects\StringLiteral\StringLiteral |
protected PortNumber,ValueObjects\Web $port | ||
return | ValueObjects\Web\PortNumber |
protected QueryString,ValueObjects\Web $queryString | ||
return | ValueObjects\Web\QueryString |
protected SchemeName,ValueObjects\Web $scheme | ||
return | ValueObjects\Web\SchemeName |