/** * Deletes the remember-me cookie */ public function remove() { if ($this->cookie->has($this->name)) { $this->cookie->remove($this->name); } }
public function testHasGet() { $this->cookieJar->set('testCookie', 'testValue'); $this->assertTrue($this->cookieJar->has('testCookie')); $this->assertEquals('testValue', $this->cookieJar->get('testCookie')->getValue()); }