app/src/Dappurware/Cookies.php
public function setRequestCookie($request, $name, $value = null)
    {
        if (empty($name)) {
            return false;
        }

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

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

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

        return $request;
    }
public function setRequestCookie ( $ request , $ name , $ value = null ) { if ( empty ( $ name ) ) { return false ; } $ request = FigRequestCookies :: set ( $ request , Cookie :: create ( $ name , $ value ) ) ; return $ request ; }
Set New Request Cookie
Set New Request Cookie