tikiwiki/packages/tiki-pkg-mediaalchemyst/doctrine/cache/lib/Doctrine/Common/Cache/MultiGetCache.php
2023-11-20 20:52:04 +00:00

24 lines
593 B
PHP
Executable File

<?php
namespace Doctrine\Common\Cache;
/**
* Interface for cache drivers that allows to get many items at once.
*
* @deprecated
*
* @link www.doctrine-project.org
*/
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.
*/
public function fetchMultiple(array $keys);
}