No Description

ExceptionEvent.php 827B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\Event;
  11. /**
  12. * Allows to create a response for a thrown exception.
  13. *
  14. * Call setResponse() to set the response that will be returned for the
  15. * current request. The propagation of this event is stopped as soon as a
  16. * response is set.
  17. *
  18. * You can also call setThrowable() to replace the thrown exception. This
  19. * exception will be thrown if no response is set during processing of this
  20. * event.
  21. *
  22. * @author Bernhard Schussek <bschussek@gmail.com>
  23. *
  24. * @final since Symfony 4.4
  25. */
  26. class ExceptionEvent extends GetResponseForExceptionEvent
  27. {
  28. }