You are here

public function ApcuFileCacheBackend::store in Plug 7

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);
}