mirror of
https://github.com/filp/whoops.git
synced 2026-08-26 21:47:43 +00:00
Add silencedPatterns getter
This commit is contained in:
@@ -181,6 +181,17 @@ final class Run implements RunInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns an array with silent errors in path configuration
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getSilenceErrorsInPaths()
|
||||
{
|
||||
return $this->silencedPatterns;
|
||||
}
|
||||
|
||||
/*
|
||||
* Should Whoops send HTTP error code to the browser if possible?
|
||||
* Whoops will by default send HTTP code 500, but you may wish to
|
||||
|
||||
Reference in New Issue
Block a user