public function renderIntoCookieHeader(ServerRequestInterface $request): ServerRequestInterface
    {
        $cookieString = \implode('; ', $this->cookies);

        return $request->withHeader('cookie', $cookieString);
    }
public function renderIntoCookieHeader(ServerRequestInterface $request): ServerRequestInterface
    {
        $cookieString = \implode('; ', $this->cookies);

        return $request->withHeader('cookie', $cookieString);
    }
public function renderIntoCookieHeader ( ServerRequestInterface $ request ) : ServerRequestInterface { $ cookieString = \ implode ( '; ' , $ this -> cookies ) ; return $ request -> withHeader ( 'cookie' , $ cookieString ) ; }
Render Cookies into a Request.

@param \Psr\Http\Message\ServerRequestInterface $request

@return \Psr\Http\Message\ServerRequestInterface
Render Cookies into a Request .