ContextCacheKeys::__construct

public ContextCacheKeys::__construct(array $keys)

Constructs a ContextCacheKeys object.

Parameters

string[] $keys: The cache context keys.

File

core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php, line 25

Class

ContextCacheKeys
A value object to store generated cache keys with its cacheability metadata.

Namespace

Drupal\Core\Cache\Context

Code

1
2
3
public function __construct(array $keys) {
  $this->keys = $keys;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.