示例#1
0
 public function testArrayCopyCanBeRetrieved()
 {
     $orig = ['test' => 123];
     $this->obj = new PublicObject($orig);
     $this->assertEquals($orig, $this->obj->getArrayCopy());
 }
示例#2
0
文件: Response.php 项目: minond/http
 /**
  * get all headers
  * @return array
  */
 public function getHeaders()
 {
     return array_merge(self::$stdheaders[$this->content_type], $this->header->getArrayCopy());
 }