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.
$offset: The offset that was requested.
The value of the offset, or NULL if no value was found.
Overrides DrupalCacheArray::resolveCacheMiss
public function resolveCacheMiss($offset) {
if (!isset($this->completeRegistry)) {
$this->completeRegistry = theme_get_registry();
}
$this->storage[$offset] = $this->completeRegistry[$offset];
if ($this->persistable) {
$this
->persist($offset);
}
return $this->storage[$offset];
}