public function renderIntoSetCookieHeader(ResponseInterface $response): ResponseInterface
    {
        $response = $response->withoutHeader('set-cookie');

        foreach ($this->cookies as $cookies) {
            $response = $response->withAddedHeader('set-cookie', (string) $cookies);
        }

        return $response;
    }