Wedding Invitation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace App\Exceptions;
  3. use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
  4. use Throwable;
  5. class Handler extends ExceptionHandler
  6. {
  7. /**
  8. * The list of the inputs that are never flashed to the session on validation exceptions.
  9. *
  10. * @var array<int, string>
  11. */
  12. protected $dontFlash = [
  13. 'current_password',
  14. 'password',
  15. 'password_confirmation',
  16. ];
  17. /**
  18. * Register the exception handling callbacks for the application.
  19. */
  20. public function register(): void
  21. {
  22. $this->reportable(function (Throwable $e) {
  23. //
  24. });
  25. }
  26. }