3 namespace Drupal\Core\Cache\Context;
5 use Drupal\Core\Cache\CacheableMetadata;
8 * A value object to store generated cache keys with its cacheability metadata.
10 class ContextCacheKeys extends CacheableMetadata {
13 * The generated cache keys.
20 * Constructs a ContextCacheKeys object.
22 * @param string[] $keys
23 * The cache context keys.
25 public function __construct(array $keys) {
30 * Gets the generated cache keys.
35 public function getKeys() {