From 89168f7b76362201bbfdd2edb73c8e0dfd332313 Mon Sep 17 00:00:00 2001 From: Ivan Scherbak Date: Tue, 20 Sep 2016 10:56:02 +0300 Subject: [PATCH] Add silencedPatterns getter --- src/Whoops/Run.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Whoops/Run.php b/src/Whoops/Run.php index 0c31292..9d4d7ea 100644 --- a/src/Whoops/Run.php +++ b/src/Whoops/Run.php @@ -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