3 namespace Drupal\Core\Cache;
5 use Symfony\Component\HttpFoundation\Response;
8 * A response that contains and can expose cacheability metadata.
10 * Supports Drupal's caching concepts: cache tags for invalidation and cache
11 * contexts for variations.
13 * @see \Drupal\Core\Cache\Cache
14 * @see \Drupal\Core\Cache\CacheableMetadata
15 * @see \Drupal\Core\Cache\CacheableResponseTrait
17 class CacheableResponse extends Response implements CacheableResponseInterface {
19 use CacheableResponseTrait;