|
|
@ -49,7 +49,7 @@ class TagDependency extends Dependency |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (!empty($newKeys)) { |
|
|
|
if (!empty($newKeys)) { |
|
|
|
$timestamps = array_merge($timestamps, $this->touchKeys($cache, $newKeys)); |
|
|
|
$timestamps = array_merge($timestamps, static::touchKeys($cache, $newKeys)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return $timestamps; |
|
|
|
return $timestamps; |
|
|
@ -93,7 +93,7 @@ class TagDependency extends Dependency |
|
|
|
foreach ($keys as $key) { |
|
|
|
foreach ($keys as $key) { |
|
|
|
$items[$key] = $time; |
|
|
|
$items[$key] = $time; |
|
|
|
} |
|
|
|
} |
|
|
|
$cache->mset($items); |
|
|
|
$cache->multiSet($items); |
|
|
|
return $items; |
|
|
|
return $items; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -114,6 +114,6 @@ class TagDependency extends Dependency |
|
|
|
$keys[] = $cache->buildKey([__CLASS__, $tag]); |
|
|
|
$keys[] = $cache->buildKey([__CLASS__, $tag]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return $cache->mget($keys); |
|
|
|
return $cache->multiGet($keys); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|