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
Namespace
Drupal\restful\UtilCode
public function delete($key) {
unset($this->data[$key]);
}