Skip to content

Commit

Permalink
add dontReportDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 2, 2023
1 parent 281e8a1 commit d8f44e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Illuminate/Foundation/Configuration/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ public function dontReport(string $class)
return $this;
}

/**
* Do not report duplicate exceptions.
*
* @return $this
*/
public function dontReportDuplicates()
{
$this->handler->dontReportDuplicates();

return $this;
}

/**
* Indicate that the given attributes should never be flashed to the session on validation errors.
*
Expand Down

0 comments on commit d8f44e3

Please sign in to comment.