ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
UriInterface.php
Go to the documentation of this file.
1<?php
2namespace Psr\Http\Message;
3
24interface UriInterface
25{
40 public function getScheme();
41
60 public function getAuthority();
61
77 public function getUserInfo();
78
90 public function getHost();
91
107 public function getPort();
108
134 public function getPath();
135
156 public function getQuery();
157
174 public function getFragment();
175
191 public function withScheme($scheme);
192
207 public function withUserInfo($user, $password = null);
208
221 public function withHost($host);
222
240 public function withPort($port);
241
264 public function withPath($path);
265
281 public function withQuery($query);
282
297 public function withFragment($fragment);
298
322 public function __toString();
323}
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.
$query
$password
Definition: pwgen.php:17