You are here

public function RequestTrait::getUri in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-diactoros/src/RequestTrait.php \Zend\Diactoros\RequestTrait::getUri()

Retrieves the URI instance.

This method MUST return a UriInterface instance.

@link http://tools.ietf.org/html/rfc3986#section-4.3

Return value

UriInterface Returns a UriInterface instance representing the URI of the request, if any.

File

vendor/zendframework/zend-diactoros/src/RequestTrait.php, line 203

Class

RequestTrait
Trait with common request behaviors.

Namespace

Zend\Diactoros

Code

public function getUri() {
  return $this->uri;
}