/** * The part of the url which is after the ? * @return string */ public function queue() { return http_build_query($this->query->all(), "", "&"); }
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()); }