An exception for terminatinating execution or to throw for unit testing.
Value object representing a URI.
getScheme()
Retrieve the scheme component of the URI.
getAuthority()
Retrieve the authority component of the URI.
__toString()
Return the string representation as a URI reference.
withHost($host)
Return an instance with the specified host.
getHost()
Retrieve the host component of the URI.
withFragment($fragment)
Return an instance with the specified URI fragment.
withQuery($query)
Return an instance with the specified query string.
getQuery()
Retrieve the query string of the URI.
getFragment()
Retrieve the fragment component of the URI.
withPath($path)
Return an instance with the specified path.
getUserInfo()
Retrieve the user information component of the URI.
getPath()
Retrieve the path component of the URI.
getPort()
Retrieve the port component of the URI.
withPort($port)
Return an instance with the specified port.
withUserInfo($user, $password=null)
Return an instance with the specified user information.
withScheme($scheme)
Return an instance with the specified scheme.