summaryrefslogtreecommitdiffstatshomepage
path: root/core/lib/Drupal/Core/Cache/CacheableAjaxResponse.php
blob: 996e674d8e029d680578632a68234202642c48cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace Drupal\Core\Cache;

use Drupal\Core\Ajax\AjaxResponse;

/**
 * A AjaxResponse that contains and can expose cacheability metadata.
 *
 * Supports Drupal's caching concepts: cache tags for invalidation and cache
 * contexts for variations.
 *
 * @see \Drupal\Core\Cache\Cache
 * @see \Drupal\Core\Cache\CacheableMetadata
 * @see \Drupal\Core\Cache\CacheableResponseTrait
 */
class CacheableAjaxResponse extends AjaxResponse implements CacheableResponseInterface {

  use CacheableResponseTrait;

}