CacheCollector::resolveCacheMiss

abstract protected CacheCollector::resolveCacheMiss($key)

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.

File

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

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

abstract protected function resolveCacheMiss($key);
doc_Drupal
2016-10-29 08:49:23
Comments
Leave a Comment

Please login to continue.