src/Viserio/Component/Cookie/RequestCookies.php
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