You are here

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

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\Cache
View 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

Namesort descending Modifiers Type Description Overrides
MultiGetCache::fetchMultiple function Returns an associative array of values for keys is found in cache. 1