You are here

public function ApcuFileCacheBackend::store in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php \Drupal\Component\FileCache\ApcuFileCacheBackend::store()

Stores data into a cache backend.

Parameters

string $cid: The cache ID to store data to.

mixed $data: The data to store.

Overrides FileCacheBackendInterface::store

File

lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php, line 25
Contains \Drupal\Component\FileCache\ApcuFileCacheBackend.

Class

ApcuFileCacheBackend
APCu backend for the file cache.

Namespace

Drupal\Component\FileCache

Code

public function store($cid, $data) {
  apc_store($cid, $data);
}