Uri

Uniform Resource Identifier
implements Psr\Http\Message\UriInterface
Methods Summary
public
# __construct( string $uri = '' )
Constructor of the class
public
# withScheme( $scheme )
{@inheritDoc}

Implementation of

public
# withUserInfo( $user , $pass = NULL )
{@inheritDoc}

Implementation of

public
# withHost( $host )
{@inheritDoc}

Implementation of

public
# withPort( $port )
{@inheritDoc}

Implementation of

public
# withPath( $path )
{@inheritDoc}

Implementation of

public
# withQuery( $query )
{@inheritDoc}

Implementation of

public
# withFragment( $fragment )
{@inheritDoc}

Implementation of

public
# getScheme( )
Gets the URI component "scheme"

Implementation of

public
# getUser( )
Gets the URI component "user"
public
# getPass( )
Gets the URI component "pass"
public
# getHost( )
Gets the URI component "host"

Implementation of

public
# getPort( )
Gets the URI component "port"

Implementation of

public
# getPath( )
Gets the URI component "path"

Implementation of

public
# getQuery( )
Gets the URI component "query"

Implementation of

public
# getFragment( )
Gets the URI component "fragment"

Implementation of

public
# getUserInfo( )
Gets the URI user info

Implementation of

public
# getHostPort( )
Gets the URI host and port
public
# getAuthority( )
Gets the URI authority

Implementation of

public
# toString( )
Converts the URI to string
public
protected
# setScheme( string $scheme )
Sets the URI component "scheme"

link

protected
# setUser( string $user )
Sets the URI component "user"

link

protected
# setPass( string $pass )
Sets the URI component "pass"

link

protected
# setHost( string $host )
Sets the URI component "host"

link

protected
# setPort( int $port )
Sets the URI component "port"

link

protected
# setPath( string $path )
Sets the URI component "path"

link

protected
# setQuery( string $query )
Sets the URI component "query"

link

protected
# setFragment( string $fragment )
Sets the URI component "fragment"

link

protected
# parse( string $uri )
Properties Summary
protected string $scheme
# ''
protected string $user
# ''
protected string $pass
# ''
protected string $host
# ''
protected null|int $port
# NULL
protected string $path
# ''
protected string $query
# ''
protected string $fragment
# ''