KernelBundle.php 639 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Symfony\Framework;
  3. use Symfony\Framework\Bundle\Bundle;
  4. /*
  5. * This file is part of the Symfony framework.
  6. *
  7. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  8. *
  9. * This source file is subject to the MIT license that is bundled
  10. * with this source code in the file LICENSE.
  11. */
  12. /**
  13. * KernelBundle.
  14. *
  15. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  16. */
  17. class KernelBundle extends Bundle
  18. {
  19. /**
  20. * Boots the Bundle.
  21. */
  22. public function boot()
  23. {
  24. if ($this->container->has('error_handler')) {
  25. $this->container['error_handler'];
  26. }
  27. }
  28. }