public function parse($string) { $cookie = new Cookie('', ''); $cookie->parse($string); $this->add($cookie); }
/** * @todo Implement testSetHttpOnly(). */ public function testSetHttpOnly() { $httponly = false; $this->object->setHttpOnly($httponly); $this->assertEquals($this->readAttribute($this->object, 'httponly'), $httponly); }