You are here

public function PersistableCache::delete in RESTful 7.2

Delete a cached item.

Parameters

string $key: The key to delete.

Overrides PersistableCacheInterface::delete

File

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

Class

PersistableCache

Namespace

Drupal\restful\Util

Code

public function delete($key) {
  unset($this->data[$key]);
}