class Illuminate / Support / Facades / Cookie
You are viewing an older version of the documentation. For the latest, please visit master documentation.

Cookie

Extends

See

  • \Illuminate\Cookie\CookieJar

Methods

public static

has ( $key ) : bool

Determine if a cookie exists on the request.

Parameters

  • $key string
public static

get ( $key , $default ) : string|array|null

Retrieve a cookie from the request.

Parameters

  • $key string|null
  • $default mixed
protected static

getFacadeAccessor ( ) : string

Get the registered name of the component.