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

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

Return an array of stored cache ids
public getIds ( ) : array
Результат array array of stored cache ids (string)
    public function getIds()
    {
        $cursor = $this->_collection->find();
        $ret = [];
        while ($tmp = $cursor->getNext()) {
            $ret[] = $tmp['_id'];
        }
        return $ret;
    }