Skip to content

Commit

Permalink
add dontReportDuplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 6, 2023
1 parent 6f22892 commit ae53dbc
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 ae53dbc

Please sign in to comment.