Documentation

MultiGetCache

Interface for cache drivers that allows to get many items at once.

Tags
deprecated
link
www.doctrine-project.org

Table of Contents

Methods

fetchMultiple()  : array<string|int, mixed>
Returns an associative array of values for keys is found in cache.

Methods

fetchMultiple()

Returns an associative array of values for keys is found in cache.

public fetchMultiple(array<string|int, string> $keys) : array<string|int, mixed>
Parameters
$keys : array<string|int, string>

Array of keys to retrieve from cache

Return values
array<string|int, mixed>

Array of retrieved values, indexed by the specified keys. Values that couldn't be retrieved are not contained in this array.


        
On this page

Search results