You are here

public function PersistableCache::set in RESTful 7.2

Gets the memory reference of the cached item.

Parameters

string $key: The key to set.

mixed $value: The value to set.

Overrides PersistableCacheInterface::set

File

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

Class

PersistableCache

Namespace

Drupal\restful\Util

Code

public function set($key, $value) {
  $this->data[$key] = $value;
}