コード例 #1
0
ファイル: Request.php プロジェクト: rezon/sugi
 /**
  * The part of the url which is after the ?
  * @return string
  */
 public function queue()
 {
     return http_build_query($this->query->all(), "", "&");
 }
コード例 #2
0
ファイル: ContainerTest.php プロジェクト: rezon/sugi
 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());
 }