/**
* @deprecated tag:v6.6.0 - The parameter $time is obsolete and will be removed in v6.6.0.0
*/
public function invalidateExpired(?\DateTime
$time = null
): void
{ if ($time) { Feature::
triggerDeprecationOrThrow('v6.6.0.0', 'The parameter $time in \Shopware\Core\Framework\Adapter\Cache\CacheInvalidator::invalidateExpired is obsolete and will be removed in v6.6.0.0'
);
} $tags =
$this->cache->
loadAndDelete();
if (empty($tags)) { return;
} $this->logger->
debug(sprintf('Purged %d tags', \
count($tags)));
$this->
purge($tags);
} /**
* @param list<string> $keys
*/