Use DI to call Doctrine Adapter