Skip to content

Commit b70ebc8

Browse files
committed
add dontReportDuplicates
1 parent 22668a6 commit b70ebc8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Illuminate/Foundation/Configuration/Exceptions.php

Lines 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)