19 if (!$response->headers->hasCacheControlDirective(
'no-cache')) {
20 $response->headers->addCacheControlDirective(
'no-cache',
'Set-Cookie');
Transport for sending responses to HTTP clients via HTTP protocol.
HTTP response transport interface.
send(SymfonyResponse $response)
{Sends HTTP response to the requester.Symfony Responsebool}