3 namespace Drupal\Core\Cache;
5 use Symfony\Component\HttpFoundation\RedirectResponse;
8 * A RedirectResponse 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 CacheableRedirectResponse extends RedirectResponse implements CacheableResponseInterface {
19 use CacheableResponseTrait;