SP
Size: a a a
SP
SP
$cacheItem = $cache->get($key);
if (!$cacheItem->ishit()) {
// нинашлося
}
SP
SP
$notFound = new class{}
$result = $cache->get($key, $notFound);
if ($result === $notFound) {
// cache miss
}
KN
$cache->find('xxx', $otherwise = fn () => xxxx);намного практичнее, по-моему
SP
KN
KN
KN
KN
AM
AM
АГ
DS
АГ
DS
АГ
АГ
A