You are here

public function FileCacheBackendInterface::store in Service Container 7

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

Stores data into a cache backend.

Parameters

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

mixed $data: The data to store.

1 method overrides FileCacheBackendInterface::store()
ApcuFileCacheBackend::store in lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php
Stores data into a cache backend.

File

lib/Drupal/Component/FileCache/FileCacheBackendInterface.php, line 34
Contains \Drupal\Component\FileCache\FileCacheBackendInterface.

Class

FileCacheBackendInterface
Defines an interface inspired by APCu for FileCache backends.

Namespace

Drupal\Component\FileCache

Code

public function store($cid, $data);