\Doctrine\Common\CacheMultiGetCache

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

Summary

Methods
Constants
fetchMultiple()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

fetchMultiple()

fetchMultiple(array<mixed,string>  $keys) : array<mixed,mixed>

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

Parameters

array<mixed,string> $keys

Array of keys to retrieve from cache

Returns

array<mixed,mixed> —

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