Laravel\Lumen\Exceptions\Handler::shouldntReport PHP Méthode

shouldntReport() protected méthode

Determine if the exception is in the "do not report" list.
protected shouldntReport ( Exception $e ) : boolean
$e Exception
Résultat boolean
    protected function shouldntReport(Exception $e)
    {
        foreach ($this->dontReport as $type) {
            if ($e instanceof $type) {
                return true;
            }
        }
        return false;
    }