protected function writeQueuedCookies(Response $response)
    {
        foreach ($this->queue->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
    }
protected function writeQueuedCookies(Response $response)
    {
        foreach ($this->queue->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
    }
protected function writeQueuedCookies ( Response $ response ) { foreach ( $ this -> queue -> getQueuedCookies ( ) as $ cookie ) { $ response -> headers -> setCookie ( $ cookie ) ; } }
Append all queued cookies to the response.

@param \Symfony\Component\HttpFoundation\Response $response
@return void
Append all queued cookies to the response .