You are here

abstract protected function CacheCollector::resolveCacheMiss in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::resolveCacheMiss()

Resolves a cache miss.

When an offset is not found in the object, this is treated as a cache miss. This method allows classes using this implementation to look up the actual value and allow it to be cached.

Parameters

string $key: The offset that was requested.

Return value

mixed The value of the offset, or NULL if no value was found.

1 call to CacheCollector::resolveCacheMiss()
CacheCollector::get in core/lib/Drupal/Core/Cache/CacheCollector.php
Gets value from the cache.
7 methods override CacheCollector::resolveCacheMiss()
AliasWhitelist::resolveCacheMiss in core/modules/path_alias/src/AliasWhitelist.php
Resolves a cache miss.
BlockContentUuidLookup::resolveCacheMiss in core/modules/block_content/src/BlockContentUuidLookup.php
Resolves a cache miss.
CacheCollectorHelper::resolveCacheMiss in core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php
Resolves a cache miss.
LibraryDiscoveryCollector::resolveCacheMiss in core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php
Resolves a cache miss.
LocaleLookup::resolveCacheMiss in core/modules/locale/src/LocaleLookup.php
Resolves a cache miss.

... See full list

File

core/lib/Drupal/Core/Cache/CacheCollector.php, line 210

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

protected abstract function resolveCacheMiss($key);