You are here

public function ApcuFileCacheBackend::fetch 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::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

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