Symfony\Component\HttpFoundation\Response::setCache
Sets the response's cache headers (validation and/or expiration).
Available options are: etag, last_modified, max_age, s_maxage, private, and public.
Signature
public function setCache(array
$options )
Parameters
$options
— array- An array of cache options
Returns
- Response