5 use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
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.
send(SymfonyResponse $response)
{Sends HTTP response to the requester.Symfony Responsebool}
HTTP response transport interface.