phiamo/MopaBootstrapBundle — Issue #53: SensioGeneratorBundle dependency
Author: havvg
Created: 2012-03-05 17:18:51+00:00
State: open

The bundle currently depends on the `SensioGeneratorBundle` causing a fatal error, if you don't have it:

`PHP Fatal error: Class 'Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCrudCommand' not found in ../vendor/bundles/Mopa/BootstrapBundle/Command/DoctrineCrudCommand.php on line 9`

I would like to use this `MopaBootstrapBundle` bundle, but don't have the `SensioGeneratorBundle` (as it requires `Doctrine\ORM`).

My suggestion would be to add a skeleton directory parameter to the `DoctrineCrudCommand` of the `SensioGeneratorBundle` and afterwards removing the command from this bundle completely.