Get request cookie

@param  string $name    Cookie name
@param  mixed  $default Cookie default value

@return mixed Cookie value if present, else default
187994
public function get($name, $default = null)
    {
        return isset($this->requestCookies[$name]) ? $this->requestCookies[$name] : $default;
    }
1153389
static public function getCookie($name= null)
    {
        if ($name) $name = static::$COOKIE_PREFIX . $name;
        return empty($name) ? $_COOKIE : (isset($_COOKIE[$name]) ? $_COOKIE[$name] : '');
    }
504835
public function getRequest($name, $default = null)
    {
        if (isset($this->queryParams[$name])) {
            return $this->queryParams[$name];
        }

        if (isset($this->bodyParams[$name])) {
            return $this->bodyParams[$name];
        }

        return $default;
    }
724133
public function get($key = null, $default = null)
    {
        if ($key) {
            $key = $this->prefix . $key;
            return Arr::get($_COOKIE, $key, $default);
        } else {
            return $default;
        }
    }
2149
public function get($name, $default = null)
    {
        if (array_key_exists($name, $this->aliases)) {
            return $this->aliases[$name];
        } else {
            return $default;
        }
    }
915100
public function get($name, $default = null)
    {
        if (isset($name) && !empty($name)) {
            if ($this->has($name)) {
                return $_COOKIE[$name];
            } else {
                return $default;
            }
        } else {
            return false;
        }
    }
974773
public static function GetAuthCookieValue ($name = self::DEFAULT_CONNECTION_NAME) {
		$options = static::GetAuthCookieOptions($name);

		$cookie_name_prefix	= $options['cookie_name_prefix'];
		$cookie_name_safix	= $options['cookie_name_safix'];

		$cookie_pattern	= sprintf("/^%s.+%s$/", $cookie_name_prefix, $cookie_name_safix);
		foreach (Request::GetCookies() as $name => $value) {
			if (preg_match($cookie_pattern, $name, $matches) !== 0) {
				return [$matches[0], $value];
			}
		}
		return null;
	}
1164570
private function _get($name, $default = null)
    {
        return array_key_exists($name, $this->getData()) ? $this->getData()[$name] : $default;
    }
107091
protected function checkRequest($name, $default = 0)
    {
        if ($name == 'name') {
            return (isset($_REQUEST[$name]) ? ($_REQUEST[$name]) : $default);
        } else {
            return (isset($_REQUEST[$name]) ? intval($_REQUEST[$name]) : $default);
        }
    }
262294
public function get($name, $default = null)
    {
        $responseCookie = $this->responseCookies->getCookieByName($name);
        if ($responseCookie !== null) {
            return $responseCookie->getValue();
        }
        if (in_array($name, $this->responseCookies->getClearedCookies(), true)) {
            return $default;
        }

        return $this->getRequest()->cookies->get($name, $default);
    }
968612
public function getCookie($name)
    {

        $filter = $default = '';

        $cookie = $this->getVar($name, $filter, $default, "cookies");

        //@TODO cookie before return
        return empty($cookie) ? false : $cookie;
    }
968889
public function get($name, $default = null)
    {
        $this->connect();
        $value = self::$instance->get($this->getCacheKey($name));
        if (is_null($value) || false === $value) {
            return $default;
        }

        return $this->unPackData($value);
    }
509126
public function get($name)
    {
        $cookie = $this->request->getCookieParams();

        return array_key_exists($name, $cookie) ? $cookie[$name] : null;
    }
317273
public function get($name, $default = null)
    {
        return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;
    }
1076198
public static function get($name = null, $default = null)
    {
        $queryParams = app()->request->getQueryParams();

        if (is_null($name)) {
            return $queryParams;
        } elseif (isset($queryParams[$name])) {
            return $queryParams[$name];
        }

        return $default;
    }
1007363
public function get($name, $default = null)
    {
        return $this->helper()->arr()->get($this->asArray(), $name, $default);
    }
155638
public function get($name = '')
    {
        $result = '';
        if (isset($_COOKIE[$name])) {
            $result = $_COOKIE[$name];
        }

        return $result;
    }