dunglas / DunglasActionBundle

Symfony controllers, redesigned
https://dunglas.fr/2016/01/dunglasactionbundle-symfony-controllers-redesigned/
MIT License
256 stars 14 forks source link

Problem with existing command #16

Closed dunglas closed 8 years ago

dunglas commented 8 years ago

When installing the dev-master version of the Symfony Standard Edition and clearing the cache I get the following error:

  [InvalidArgumentException]                                                                                   
  The service "command.doctrine\bundle\doctrinebundle\command\proxy\doctrinecommandhelper" tagged "console.co  
  mmand" must be a subclass of "Symfony\Component\Console\Command\Command".                                    

Can you take a look @Ener-Getick?

GuilhemN commented 8 years ago

Checking that the registered classes are not abstract should fix this issue. BTW for the commands we can do even more and check that they implement Symfony\Component\Console\Command\Command.