Fixed command as a service. Passing full Doctrine
Merge pull request #254 from elcodi/hotfix/fixed-command-passing-doctrine

Fixed command as a service. Passing full Doctrine