Skip to content

Commit

Permalink
Fix ManagerRegistry namespace
Browse files Browse the repository at this point in the history
We should use Doctrine\Bundle\MongoDBBundle\ManagerRegistry not Doctrine\Common\Persistence\ManagerRegistry
  • Loading branch information
kostya1000 authored Dec 6, 2019
1 parent c27fefe commit dcb0580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/doc/first_steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ is to use the repository as a service and inject it as a dependency into other s
use Acme\StoreBundle\Document\Product;
use Doctrine\Bundle\MongoDBBundle\Repository\ServiceDocumentRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Bundle\MongoDBBundle\ManagerRegistry;
/**
* Remember to map this repository in the corresponding document's repositoryClass.
Expand Down

0 comments on commit dcb0580

Please sign in to comment.