Skip to content

Commit

Permalink
Merge pull request #661 from Rarst/patch-1
Browse files Browse the repository at this point in the history
Added silenceErrorsInPaths() to API documentation
  • Loading branch information
denis-sokolov committed Mar 25, 2020
2 parents 61de74f + 9cc048c commit 91b85b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/API Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Run::unregister()
Run::allowQuit($allowQuit = null)
#=> bool

// Silence errors for paths matching regular expressions and PHP error constants.
// Can be called multiple times.
Run::silenceErrorsInPaths($patterns, $levels = E_STRICT | E_DEPRECATED)
#=> Whoops\Run

// If true, allows Whoops to send output produced by handlers directly
// to the client. You'll want to set this to false if you want to
// package the handlers' response into your HTTP response abstraction
Expand Down

0 comments on commit 91b85b4

Please sign in to comment.