Fixed command as a service. Passing full Doctrine