Beispiel #1
0
 /**
  * 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);
 }
Beispiel #2
0
 /**
  * {@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());
	}
Beispiel #5
0
 /**
  * Delete a cookie
  *
  * @param string $cookieName
  *
  * @return bool
  */
 public function delete($cookieName)
 {
     $cookie = $this->cookie->forget($cookieName);
     $this->cookie->queue($cookie);
     return true;
 }
Beispiel #6
0
 /**
  * Expire the given cookie.
  *
  * @param string $name
  * @return \Symfony\Component\HttpFoundation\Cookie 
  * @static 
  */
 public static function forget($name)
 {
     return \Illuminate\Cookie\CookieJar::forget($name);
 }