This has nothing to do with Doctrine ORM, it should be moved to `services.xml`