Allows the use of DI within Doctrine Repositories