Exemplo n.º 1
0
 public function testArrayCopyCanBeRetrieved()
 {
     $orig = ['test' => 123];
     $this->obj = new PublicObject($orig);
     $this->assertEquals($orig, $this->obj->getArrayCopy());
 }
Exemplo n.º 2
0
 /**
  * get all headers
  * @return array
  */
 public function getHeaders()
 {
     return array_merge(self::$stdheaders[$this->content_type], $this->header->getArrayCopy());
 }