/** * Store multiple items in the cache for a given number of minutes. * * @param array $values * @param int $minutes * @return void */ public function putMany(array $values, $minutes) { $minutes = $this->getMinutes($minutes); if (!is_null($minutes)) { $this->store->putMany($values, $minutes); foreach ($values as $key => $value) { $this->fireCacheEvent('write', [$key, $value, $minutes]); } } }