public function CacheArray::offsetExists

Implements ArrayAccess::offsetExists().

1 method overrides CacheArray::offsetExists()
ThemeRegistry::offsetExists in drupal/core/lib/Drupal/Core/Utility/ThemeRegistry.php
Overrides CacheArray::offsetExists().

File

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

Class

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

Namespace

Drupal\Core\Utility

Code

public function offsetExists($offset) {
  return $this
    ->offsetGet($offset) !== NULL;
}