src/ieu/Http/Request.php
public function cookie(string $key, $default = null)
  {
    return $this->cookie->has($key) ? $this->cookie->get($key) : $default;
  }
public function cookie(string $key, $default = null)
  {
    return $this->cookie->has($key) ? $this->cookie->get($key) : $default;
  }
public function cookie ( string $ key , $ default = null ) { return $ this -> cookie -> has ( $ key ) ? $ this -> cookie -> get ( $ key ) : $ default ; }
Shortcut to fetch a COOKIE-parameter with optional default value

@param  string $key     the key to look for
@param  mixed  $default the value thar will be returned if the key is not set

@return mixed           the found or the default value
Shortcut to fetch a COOKIE - parameter with optional default value