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