abstract protected function CacheArray::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 implementing the interface to look up the actual value and allow it to be cached.

Parameters

$offset: The offset that was requested.

Return value

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

1 call to CacheArray::resolveCacheMiss()
CacheArray::offsetGet in drupal/core/lib/Drupal/Core/Utility/CacheArray.php
Implements ArrayAccess::offsetGet().
4 methods override CacheArray::resolveCacheMiss()
LocaleLookup::resolveCacheMiss in drupal/core/modules/locale/lib/Drupal/locale/LocaleLookup.php
Implements CacheArray::resolveCacheMiss().
ModuleInfo::resolveCacheMiss in drupal/core/lib/Drupal/Core/Utility/ModuleInfo.php
Implements CacheArray::resolveCacheMiss().
SchemaCache::resolveCacheMiss in drupal/core/lib/Drupal/Core/Utility/SchemaCache.php
Implements CacheArray::resolveCacheMiss().
ThemeRegistry::resolveCacheMiss in drupal/core/lib/Drupal/Core/Utility/ThemeRegistry.php
Implements CacheArray::resolveCacheMiss().

File

drupal/core/lib/Drupal/Core/Utility/CacheArray.php, line 189
Definition of CacheArray

Class

CacheArray
Provides a caching wrapper to be used in place of large array structures.

Namespace

Drupal\Core\Utility

Code

protected abstract function resolveCacheMiss($offset);