Enable WebServerBundle in dev environment

Since #3376, the web server console commands were not available.
This commit is contained in:
Nicolas Hart 2017-10-13 23:04:16 +02:00
parent f44a927530
commit 3c9fbb4e32
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class AppKernel extends Kernel
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
if ('test' === $this->getEnvironment()) {
$bundles[] = new DAMA\DoctrineTestBundle\DAMADoctrineTestBundle();