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