Pimcore\Cache\Backend\Mongodb::getIdsNotMatchingTags PHP Метод

getIdsNotMatchingTags() публичный Метод

In case of multiple tags, a logical OR is made between tags
public getIdsNotMatchingTags ( array $tags = [] ) : array
$tags array array of tags
Результат array array of not matching cache ids (string)
    public function getIdsNotMatchingTags($tags = [])
    {
        $cursor = $this->_collection->find(['t' => ['$nin' => $tags]]);
        $ret = [];
        while ($tmp = $cursor->getNext()) {
            $ret[] = $tmp['_id'];
        }
        return $ret;
    }