Chris@0: . Chris@0: */ Chris@0: Chris@0: namespace Doctrine\Common\Cache; Chris@0: Chris@0: /** Chris@0: * Interface for cache drivers that allows to get many items at once. Chris@0: * Chris@0: * @link www.doctrine-project.org Chris@0: * @since 1.4 Chris@0: * @author Asmir Mustafic Chris@0: */ Chris@0: interface MultiGetCache Chris@0: { Chris@0: /** Chris@0: * Returns an associative array of values for keys is found in cache. Chris@0: * Chris@0: * @param string[] $keys Array of keys to retrieve from cache Chris@0: * @return mixed[] Array of retrieved values, indexed by the specified keys. Chris@0: * Values that couldn't be retrieved are not contained in this array. Chris@0: */ Chris@0: function fetchMultiple(array $keys); Chris@0: }