Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string |
public static fromNative ( ) : |
||
Результат |
public getDomain ( ) : ValueObjects\Web\Hostname | ValueObjects\Web\IPAddress | ||
Результат | ValueObjects\Web\Hostname | ValueObjects\Web\IPAddress |
public getFragmentIdentifier ( ) : ValueObjects\Web\FragmentIdentifier | ||
Результат | ValueObjects\Web\FragmentIdentifier |
public getPassword ( ) : ValueObjects\StringLiteral\StringLiteral | ||
Результат | ValueObjects\StringLiteral\StringLiteral |
public getPath ( ) : ValueObjects\Web\Path | ||
Результат | ValueObjects\Web\Path |
public getPort ( ) : PortNumberInterface | ||
Результат | PortNumberInterface |
public getQueryString ( ) : ValueObjects\Web\QueryString | ||
Результат | ValueObjects\Web\QueryString |
public getScheme ( ) : ValueObjects\Web\SchemeName | ||
Результат | ValueObjects\Web\SchemeName |
public getUser ( ) : ValueObjects\StringLiteral\StringLiteral | ||
Результат | ValueObjects\StringLiteral\StringLiteral |
public sameValueAs ( ValueObjects\ValueObjectInterface $url ) : boolean | ||
$url | ValueObjects\ValueObjectInterface | |
Результат | boolean |
protected Domain,ValueObjects\Web $domain | ||
Результат | ValueObjects\Web\Domain |
protected FragmentIdentifier,ValueObjects\Web $fragmentIdentifier | ||
Результат | ValueObjects\Web\FragmentIdentifier |
protected StringLiteral,ValueObjects\StringLiteral $password | ||
Результат | ValueObjects\StringLiteral\StringLiteral |
protected PortNumber,ValueObjects\Web $port | ||
Результат | ValueObjects\Web\PortNumber |
protected QueryString,ValueObjects\Web $queryString | ||
Результат | ValueObjects\Web\QueryString |
protected SchemeName,ValueObjects\Web $scheme | ||
Результат | ValueObjects\Web\SchemeName |