|
@@ 40-47 (lines=8) @@
|
| 37 |
|
{ |
| 38 |
|
$bundles = array_flip($container->getParameter('kernel.bundles')); |
| 39 |
|
|
| 40 |
|
if (false === array_key_exists('Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle', $bundles)) { |
| 41 |
|
throw new LogicException( |
| 42 |
|
sprintf( |
| 43 |
|
'Cannot register "%s" without "Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle".', |
| 44 |
|
HautelookAliceBundle::class |
| 45 |
|
) |
| 46 |
|
); |
| 47 |
|
} |
| 48 |
|
if (false === array_key_exists('Doctrine\Bundle\DoctrineBundle\DoctrineBundle', $bundles)) { |
| 49 |
|
throw new LogicException( |
| 50 |
|
sprintf( |
|
@@ 48-55 (lines=8) @@
|
| 45 |
|
) |
| 46 |
|
); |
| 47 |
|
} |
| 48 |
|
if (false === array_key_exists('Doctrine\Bundle\DoctrineBundle\DoctrineBundle', $bundles)) { |
| 49 |
|
throw new LogicException( |
| 50 |
|
sprintf( |
| 51 |
|
'Cannot register "%s" without "Doctrine\Bundle\DoctrineBundle\DoctrineBundle".', |
| 52 |
|
HautelookAliceBundle::class |
| 53 |
|
) |
| 54 |
|
); |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
$this->loadConfig($configs, $container); |
| 58 |
|
$this->loadServices($container); |