Пример #1
0
 /**
  * Sets the response's cache headers (validation and/or expiration).
  *
  * Available options are: etag, last_modified, max_age, s_maxage, private, and public.
  *
  * @param array $options An array of cache options
  *
  * @return Response
  *
  * @throws \InvalidArgumentException
  *
  * @api
  */
 public function setCache(array $options)
 {
     return parent::setCache($options);
 }