You are here

public function ApcuFileCacheBackend::store in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/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

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