Skip to content

Commit

Permalink
feat(ExceptionNotify): Add skipWhen method
Browse files Browse the repository at this point in the history
- Added skipWhen method to skip exception notifications based on a callback
  • Loading branch information
guanguans committed May 9, 2024
1 parent 2b93068 commit 9415f84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Facades/ExceptionNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @method static void reportIf(mixed $condition, \Throwable $throwable, array|string $channels = null)
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager setContainer(\Illuminate\Contracts\Container\Container $container)
* @method static bool shouldReport(\Throwable $throwable)
* @method static void skipWhen(\Closure $callback)
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager|\Illuminate\Support\HigherOrderTapProxy tap(callable|null $callback = null)
*
* @see \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager
Expand Down

0 comments on commit 9415f84

Please sign in to comment.