public function writeMany($data)
    {
        $cacheData = [];
        foreach ($data as $key => $value) {
            $cacheData[$this->_key($key)] = $value;
        }

        $success = $this->_Memcached->setMulti($cacheData);

        $return = [];
        foreach (array_keys($data) as $key) {
            $return[$key] = $success;
        }

        return $return;
    }
public function writeMany($data)
    {
        $cacheData = [];
        foreach ($data as $key => $value) {
            $cacheData[$this->_key($key)] = $value;
        }

        $success = $this->_Memcached->setMulti($cacheData);

        $return = [];
        foreach (array_keys($data) as $key) {
            $return[$key] = $success;
        }

        return $return;
    }
public function writeMany ( $ data ) { $ cacheData = [ ] ; foreach ( $ data as $ key => $ value ) { $ cacheData [ $ this -> _key ( $ key ) ] = $ value ; } $ success = $ this -> _Memcached -> setMulti ( $ cacheData ) ; $ return = [ ] ; foreach ( array_keys ( $ data ) as $ key ) { $ return [ $ key ] = $ success ; } return $ return ; }
Write many cache entries to the cache at once

@param array $data An array of data to be stored in the cache
@return array of bools for each key provided, true if the data was
successfully cached, false on failure
Write many cache entries to the cache at once