addValues() protected method
Adds multiple key-value pairs to cache. The default implementation calls addValue() multiple times add values one by one. If the underlying cache storage supports multi-add, this method should be overridden to exploit that feature.
protected array addValues ( $data, $duration )$data array
Array where key corresponds to cache key while value is the value stored. $duration integer
The number of seconds in which the cached values will expire. 0 means never exp