Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d8f44e3

Browse filesBrowse files
committed
add dontReportDuplicates
1 parent 281e8a1 commit d8f44e3
Copy full SHA for d8f44e3

File tree

Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed

‎src/Illuminate/Foundation/Configuration/Exceptions.php

Copy file name to clipboardExpand all lines: src/Illuminate/Foundation/Configuration/Exceptions.php
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ public function dontReport(string $class)
9797
return $this;
9898
}
9999

100+
/**
101+
* Do not report duplicate exceptions.
102+
*
103+
* @return $this
104+
*/
105+
public function dontReportDuplicates()
106+
{
107+
$this->handler->dontReportDuplicates();
108+
109+
return $this;
110+
}
111+
100112
/**
101113
* Indicate that the given attributes should never be flashed to the session on validation errors.
102114
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.