ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
UriInterface.php
Go to the documentation of this file.
1 <?php
2 namespace Psr\Http\Message;
3 
24 interface 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 }
getHost()
Retrieve the host component of the URI.
getFragment()
Retrieve the fragment component of the URI.
Value object representing a URI.
__toString()
Return the string representation as a URI reference.
withQuery($query)
Return an instance with the specified query string.
getUserInfo()
Retrieve the user information component of the URI.
getScheme()
Retrieve the scheme component of the URI.
withPath($path)
Return an instance with the specified path.
$password
Definition: pwgen.php:17
getAuthority()
Retrieve the authority component of the URI.
getPath()
Retrieve the path component of the URI.
withHost($host)
Return an instance with the specified host.
getPort()
Retrieve the port component of the URI.
withPort($port)
Return an instance with the specified port.
$query
withFragment($fragment)
Return an instance with the specified URI fragment.
withScheme($scheme)
Return an instance with the specified scheme.
withUserInfo($user, $password=null)
Return an instance with the specified user information.
getQuery()
Retrieve the query string of the URI.