Пример #1
0
 /**
  * Gets the uri for the request, keeping the base uri into consideration
  *
  * @return string
  */
 public function getRequestUri()
 {
     return $this->calculateUri($this->httpRequest->getUri());
 }
Пример #2
0
 function testGetUri()
 {
     $this->assertEquals('/testuri/', $this->request->getUri(), 'We got an invalid uri back');
 }