bundles.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * @file
  4. * - In a default Symfony application that uses Symfony Flex, bundles are
  5. * enabled/disabled automatically for you when installing/removing them, so
  6. * you don't need to look at or edit this bundles.php file.
  7. * - 'all' means that the bundle is enabled for any Symfony environment
  8. *
  9. * @see \App\Kernel::registerBundles()
  10. */
  11. use Osinet\DemoBundle\OsinetDemoBundle;
  12. use Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle;
  13. use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
  14. use Symfony\Bundle\TwigBundle\TwigBundle;
  15. use Symfony\Bundle\WebProfilerBundle\WebProfilerBundle;
  16. use Symfony\Bundle\WebServerBundle\WebServerBundle;
  17. $all = ['all' => TRUE];
  18. $dev = ['dev' => TRUE];
  19. $test = ['test' => TRUE];
  20. return [
  21. // Skeleton bundles.
  22. FrameworkBundle::class => $all,
  23. WebServerBundle::class => $dev,
  24. SensioFrameworkExtraBundle::class => $all,
  25. WebProfilerBundle::class => $dev + $test,
  26. TwigBundle::class => $all,
  27. // App bundles (SF 3.x style, without Flex).
  28. OsinetDemoBundle::class => $all,
  29. ];