cookie::get($key = null, $default = null)

Get a cookie value

  • $key (string)
    The name of the cookie
  • $default (string)
    The default value, which should be returned if the cookie has not been found
  • return (mixed)
    The found value