You are here

protected function PersistableCache::isLoaded in RESTful 7.2

Checks if a key was already loaded before.

Parameters

string $key: The key to check.

Return value

bool TRUE if it was loaded before. FALSE otherwise.

1 call to PersistableCache::isLoaded()
PersistableCache::load in src/Util/PersistableCache.php
Tries to load an item from the real cache.

File

src/Util/PersistableCache.php, line 104
Contains \Drupal\restful\Util\PersistableCache.

Class

PersistableCache

Namespace

Drupal\restful\Util

Code

protected function isLoaded($key) {
  return isset($this->loaded[$key]);
}