暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }