class ApcuFileCacheBackend implements FileCacheBackendInterface (View source)

APCu backend for the file cache.

Methods

array
fetch(array $cids)

Fetches data from the cache backend.

store(string $cid, mixed $data)

Stores data into a cache backend.

delete(string $cid)

Deletes data from a cache backend.

Details

array 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.

store(string $cid, mixed $data)

Stores data into a cache backend.

Parameters

string $cid

The cache ID to store data to.

mixed $data

The data to store.

delete(string $cid)

Deletes data from a cache backend.

Parameters

string $cid

The cache ID to delete.