});
foreach ($results as $id =>
$result) { if ($result instanceof \RedisException ||
$result instanceof \Relay\Exception ||
$result instanceof ErrorInterface
) { CacheItem::
log($this->logger, 'Failed to delete key "{key}": '.
$result->
getMessage(),
['key' =>
substr($id, \
strlen($this->namespace
)), 'exception' =>
$result]);
continue;
} try { yield $id => !\
is_string($result) || '' ===
$result ?
[] :
$this->marshaller->
unmarshall($result);
} catch (\Exception
) { yield $id =>
[];
} } } protected function doDeleteTagRelations(array
$tagData): bool
{ $results =
$this->
pipeline(static function D
) use ($tagData) { foreach ($tagData as $tagId =>
$idList) { array_unshift($idList,
$tagId);