public function set_many(array $keyvaluearray) {
        if ($this->persist) {
            foreach ($keyvaluearray as $pair) {
                $this->store[$pair['key']] = $pair['value'];
            }

        }
        return count($keyvaluearray);
    }
public function set_many(array $keyvaluearray) {
        if ($this->persist) {
            foreach ($keyvaluearray as $pair) {
                $this->store[$pair['key']] = $pair['value'];
            }

        }
        return count($keyvaluearray);
    }
public function set_many ( array $ keyvaluearray ) { if ( $ this -> persist ) { foreach ( $ keyvaluearray as $ pair ) { $ this -> store [ $ pair [ 'key' ] ] = $ pair [ 'value' ] ; } } return count ( $ keyvaluearray ) ; }
Sets many items in the cache
@param array $keyvaluearray
@return int
Sets many items in the cache