You are here

protected function MemcachedCache::doFetchMultiple in Plug 7

Default implementation of doFetchMultiple. Each driver that supports multi-get should owerwrite it.

Parameters

array $keys Array of keys to retrieve from cache:

Return value

array Array of values retrieved for the given keys.

Overrides CacheProvider::doFetchMultiple

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/MemcachedCache.php, line 75

Class

MemcachedCache
Memcached cache provider.

Namespace

Doctrine\Common\Cache

Code

protected function doFetchMultiple(array $keys) {
  return $this->memcached
    ->getMulti($keys);
}