You are here

public function ApcuFileCacheBackend::fetch in Drupal 9

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

Class

ApcuFileCacheBackend
APCu backend for the file cache.

Namespace

Drupal\Component\FileCache

Code

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