foreach ($results as $id =>
$values) { if ($values instanceof \RedisException ||
$values instanceof \Relay\Exception ||
$values instanceof ErrorInterface
) { CacheItem::
log($this->logger, 'Failed to invalidate key "{key}": '.
$values->
getMessage(),
['key' =>
substr($id, \
strlen($this->namespace
)), 'exception' =>
$values]);
$success = false;
continue;
} [$cursor,
$ids] =
$values;
while ($ids || '0' !==
$cursor) { $this->
doDelete($ids);
$evalArgs =
[$id,
$cursor];
array_splice($evalArgs, 1, 0,
$ids);
if ($this->redis instanceof \Predis\ClientInterface
) { array_unshift($evalArgs,
$lua, 1
);
} else { $evalArgs =
[$lua,
$evalArgs, 1
];
} $results =
$this->
pipeline(function D
) use ($evalArgs) {