interface MultiGetCache (View source)

deprecated

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

Methods

mixed[]
fetchMultiple(array $keys)

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

Details

mixed[] fetchMultiple(array $keys)

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

Parameters

array $keys Array of keys to retrieve from cache

Return Value

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