Documentation

MultiGetRegion

Defines a region that supports multi-get reading.

With one method call we can get multiple items.

Tags
deprecated

Implement Region instead.

Table of Contents

Methods

getMultiple()  : array<string|int, CacheEntry>|null
Get all items from the cache identified by $keys.

Methods

getMultiple()

Get all items from the cache identified by $keys.

public getMultiple(CollectionCacheEntry $collection) : array<string|int, CacheEntry>|null

It returns NULL if some elements can not be found.

Parameters
$collection : CollectionCacheEntry

The collection of the items to be retrieved.

Return values
array<string|int, CacheEntry>|null

The cached entries or NULL if one or more entries can not be found


        
On this page

Search results