public function setRequestCookie($request, $name, $value = null)
    {
        if (empty($name)) {
            return false;
        }

        $request = FigRequestCookies::set($request, Cookie::create($name, $value));

        return $request;
    }