You are here

public function ApcuFileCacheBackend::fetch in Service Container 7

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

Fetches data from the cache backend.

Parameters

array $cids: The cache IDs to fetch.

Return value

array An array containing cache entries keyed by cache ID.

Overrides FileCacheBackendInterface::fetch

File

lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php, line 18
Contains \Drupal\Component\FileCache\ApcuFileCacheBackend.

Class

ApcuFileCacheBackend
APCu backend for the file cache.

Namespace

Drupal\Component\FileCache

Code

public function fetch(array $cids) {
  return apc_fetch($cids);
}