Documentation

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

Methods

withFragment()

public withFragment(string $fragment) : UriInterface
Parameters
$fragment : string
Return values
UriInterface

withHost()

public withHost(string $host) : UriInterface
Parameters
$host : string
Return values
UriInterface

withPath()

public withPath(string $path) : UriInterface
Parameters
$path : string
Return values
UriInterface

withPort()

public withPort(int|null $port) : UriInterface
Parameters
$port : int|null
Return values
UriInterface

withQuery()

public withQuery(string $query) : UriInterface
Parameters
$query : string
Return values
UriInterface

withScheme()

public withScheme(string $scheme) : UriInterface
Parameters
$scheme : string
Return values
UriInterface

withUserInfo()

public withUserInfo(string $user[, string|null $password = null ]) : UriInterface
Parameters
$user : string
$password : string|null = null
Return values
UriInterface

        
On this page

Search results