Add silencedPatterns getter

This commit is contained in:
Ivan Scherbak
2016-09-20 10:56:02 +03:00
parent 5f4bc2f496
commit 89168f7b76
+11
View File
@@ -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