You are here

public function ApcuFileCacheBackend::store in Drupal 8

Same name and namespace in other branches
  1. 9 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 20

Class

ApcuFileCacheBackend
APCu backend for the file cache.

Namespace

Drupal\Component\FileCache

Code

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