Return repository in Manager Class MongoDB

With doctrine mongodb and configuration:

```
persistence:
    driver: mongodb
    model: Vivados\Bundle\MainBundle\Document\Property
    elastica_to_model_transformer:
       ignore_missing: true
       query_builder_method: createSearchQueryBuilder
```
the following error occurs:
Call to undefined method Doctrine\ODM\MongoDB\DocumentManager::createSearchQueryBuilder()

If i add the method ->getRepository($this->objectClass) this issue disappears.