Esempio n. 1
0
 /**
  * The part of the url which is after the ?
  * @return string
  */
 public function queue()
 {
     return http_build_query($this->query->all(), "", "&");
 }
Esempio n. 2
0
 public function testReplace()
 {
     $container = new Container(array("foo" => "bar", "key" => "value"));
     $container->replace(array("foo" => "foobar", "key2" => "value2"));
     $this->assertEquals(array("foo" => "foobar", "key2" => "value2"), $container->all());
 }