@netiul if you alias `Doctrine\ORM\EntityManager` instead of `doctrine.entitymanager.orm_default`, this should work.