Exemplo n.º 1
0
 /**
  * Returns the request query part.
  * @return \Brickoo\Component\Http\UriQuery
  */
 public function getQuery()
 {
     return $this->uri->getQuery();
 }
Exemplo n.º 2
0
 /** @covers Brickoo\Component\Http\Uri::getQuery */
 public function testGetQuery()
 {
     $query = $this->getUriQueryStub();
     $uri = new Uri("https", $this->getUriAuthorityStub(), "/", $query, "");
     $this->assertSame($query, $uri->getQuery());
 }