You are here

abstract protected function CacheCollector::resolveCacheMiss in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.
6 methods override CacheCollector::resolveCacheMiss()
AliasWhitelist::resolveCacheMiss in core/lib/Drupal/Core/Path/AliasWhitelist.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.
MenuActiveTrail::resolveCacheMiss in core/lib/Drupal/Core/Menu/MenuActiveTrail.php

... See full list

File

core/lib/Drupal/Core/Cache/CacheCollector.php, line 214
Contains \Drupal\Core\Cache\CacheCollector.

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

protected abstract function resolveCacheMiss($key);