mirror of
https://github.com/filp/whoops.git
synced 2026-09-15 12:16:18 +00:00
Merge pull request #661 from Rarst/patch-1
Added silenceErrorsInPaths() to API documentation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user