Use a `Doctrine\Common\Persistence\ObjectManager` and a `Doctrine\Common\Persistence\ObjectRepository` here (not the ORM specific ones)