CacheableRedirectResponse.php 545 B

123456789101112131415161718192021
  1. <?php
  2. namespace Drupal\Core\Cache;
  3. use Symfony\Component\HttpFoundation\RedirectResponse;
  4. /**
  5. * A RedirectResponse that contains and can expose cacheability metadata.
  6. *
  7. * Supports Drupal's caching concepts: cache tags for invalidation and cache
  8. * contexts for variations.
  9. *
  10. * @see \Drupal\Core\Cache\Cache
  11. * @see \Drupal\Core\Cache\CacheableMetadata
  12. * @see \Drupal\Core\Cache\CacheableResponseTrait
  13. */
  14. class CacheableRedirectResponse extends RedirectResponse implements CacheableResponseInterface {
  15. use CacheableResponseTrait;
  16. }