interface MultiGetCache in Plug 7
Interface for cache drivers that allows to get many items at once.
@link www.doctrine-project.org @since 1.4 @author Asmir Mustafic <goetas@gmail.com>
Hierarchy
- interface \Doctrine\Common\Cache\MultiGetCache
Expanded class hierarchy of MultiGetCache
All classes that implement MultiGetCache
File
- lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ MultiGetCache.php, line 29
Namespace
Doctrine\Common\CacheView source
interface MultiGetCache {
/**
* Returns an associative array of values for keys is found in cache.
*
* @param string[] $keys Array of keys to retrieve from cache
* @return mixed[] Array of retrieved values, indexed by the specified keys.
* Values that couldn't be retrieved are not contained in this array.
*/
function fetchMultiple(array $keys);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MultiGetCache:: |
function | Returns an associative array of values for keys is found in cache. | 1 |