Skip to content

Commit

Permalink
add dontReportDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 28, 2023
1 parent 22668a6 commit b70ebc8
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 b70ebc8

Please sign in to comment.