public function removeContentVersion(array $ids)
    {
        $contentMongoIds = array();
        foreach ($ids as $id) {
            $contentMongoIds[] = new \MongoId($id);
        }

        $qb = $this->createQueryBuilder();
        $qb->remove()
            ->field('id')->in($contentMongoIds)
            ->getQuery()
            ->execute();
    }
public function removeContentVersion(array $ids)
    {
        $contentMongoIds = array();
        foreach ($ids as $id) {
            $contentMongoIds[] = new \MongoId($id);
        }

        $qb = $this->createQueryBuilder();
        $qb->remove()
            ->field('id')->in($contentMongoIds)
            ->getQuery()
            ->execute();
    }
@param array $ids

@throws \Doctrine\ODM\MongoDB\MongoDBException