public function ApcuFileCacheBackend::store

public ApcuFileCacheBackend::store($cid, $data)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!FileCache!ApcuFileCacheBackend.php/function/ApcuFileCacheBackend::store/8.1.x