public function get($name, $default = null)
    {
        if (isset($name) && !empty($name)) {
            if ($this->has($name)) {
                return $_COOKIE[$name];
            } else {
                return $default;
            }
        } else {
            return false;
        }
    }
public function get($name, $default = null)
    {
        if (isset($name) && !empty($name)) {
            if ($this->has($name)) {
                return $_COOKIE[$name];
            } else {
                return $default;
            }
        } else {
            return false;
        }
    }
public function get ( $ name , $ default = null ) { if ( isset ( $ name ) && ! empty ( $ name ) ) { if ( $ this -> has ( $ name ) ) { return $ _COOKIE [ $ name ] ; } else { return $ default ; } } else { return false ; } }
Get the cookie value.

@param (sring) $name    of cookie
@param (mixed) $default default value if cookie is not exists

@since 1.0.0

@return mixed
Get the cookie value .