UriDecorationTrait
Trait UriDecorationTrait
Table of Contents
Properties
- $uri : UriInterface
Methods
- __toString() : string
- getAuthority() : string
- getFragment() : string
- getHost() : string
- getPath() : string
- getPort() : int|null
- getQuery() : string
- getScheme() : string
- getUserInfo() : string
- withFragment() : UriInterface
- withHost() : UriInterface
- withPath() : UriInterface
- withPort() : UriInterface
- withQuery() : UriInterface
- withScheme() : UriInterface
- withUserInfo() : UriInterface
Properties
$uri
protected
UriInterface
$uri
Methods
__toString()
public
__toString() : string
Return values
stringgetAuthority()
public
getAuthority() : string
Return values
stringgetFragment()
public
getFragment() : string
Return values
stringgetHost()
public
getHost() : string
Return values
stringgetPath()
public
getPath() : string
Return values
stringgetPort()
public
getPort() : int|null
Return values
int|nullgetQuery()
public
getQuery() : string
Return values
stringgetScheme()
public
getScheme() : string
Return values
stringgetUserInfo()
public
getUserInfo() : string
Return values
stringwithFragment()
public
withFragment(string $fragment) : UriInterface
Parameters
- $fragment : string
Return values
UriInterfacewithHost()
public
withHost(string $host) : UriInterface
Parameters
- $host : string
Return values
UriInterfacewithPath()
public
withPath(string $path) : UriInterface
Parameters
- $path : string
Return values
UriInterfacewithPort()
public
withPort(int|null $port) : UriInterface
Parameters
- $port : int|null
Return values
UriInterfacewithQuery()
public
withQuery(string $query) : UriInterface
Parameters
- $query : string
Return values
UriInterfacewithScheme()
public
withScheme(string $scheme) : UriInterface
Parameters
- $scheme : string
Return values
UriInterfacewithUserInfo()
public
withUserInfo(string $user[, string|null $password = null ]) : UriInterface
Parameters
- $user : string
- $password : string|null = null