/** * Expire the given cookie. * * @param string $name * @param string $path * @param string $domain * @return \Symfony\Component\HttpFoundation\Cookie * @static */ public static function forget($name, $path = null, $domain = null) { return \Illuminate\Cookie\CookieJar::forget($name, $path, $domain); }
/** * {@inheritDoc} */ public function forget() { $cookie = $this->jar->forget($this->key); $this->jar->queue($cookie); }
/** * {@inheritDoc} */ public function destroy($sessionId) { $this->cookie->queue($this->cookie->forget($sessionId)); }
/** * Remove the Sentry cookie. * * @return void */ public function forget() { $this->cookie = $this->jar->forget($this->getKey()); }
/** * Delete a cookie * * @param string $cookieName * * @return bool */ public function delete($cookieName) { $cookie = $this->cookie->forget($cookieName); $this->cookie->queue($cookie); return true; }
/** * Expire the given cookie. * * @param string $name * @return \Symfony\Component\HttpFoundation\Cookie * @static */ public static function forget($name) { return \Illuminate\Cookie\CookieJar::forget($name); }