<?phpnamespaceApp\Exceptions;useIlluminate\Foundation\Exceptions\HandlerasExceptionHandler;useThrowable;classHandlerextendsExceptionHandler{/** * The list of the inputs that are never flashed to the session on validation exceptions. * * @var array<int, string> */protected$dontFlash=['current_password','password','password_confirmation',];/** * Register the exception handling callbacks for the application. */publicfunctionregister():void{$this->reportable(function(Throwable$e){//});}}