You are here

public function FileCacheBackendInterface::fetch in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/FileCache/FileCacheBackendInterface.php \Drupal\Component\FileCache\FileCacheBackendInterface::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.

1 method overrides FileCacheBackendInterface::fetch()
ApcuFileCacheBackend::fetch in lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php
Fetches data from the cache backend.

File

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

Class

FileCacheBackendInterface
Defines an interface inspired by APCu for FileCache backends.

Namespace

Drupal\Component\FileCache

Code

public function fetch(array $cids);