public function ApcuFileCacheBackend::fetch

public ApcuFileCacheBackend::fetch(array $cids)

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

© 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::fetch/8.1.x