src/ExceptionHandler.php
protected function getFiltered(array $displayers, Request $request, Exception $original, Exception $transformed, $code)
    {
        foreach ($this->make((array) $this->getConfigItem('filters')) as $filter) {
            $displayers = $filter->filter($displayers, $request, $original, $transformed, $code);
        }

        return array_values($displayers);
    }
protected function getFiltered(array $displayers, Request $request, Exception $original, Exception $transformed, $code)
    {
        foreach ($this->make((array) $this->getConfigItem('filters')) as $filter) {
            $displayers = $filter->filter($displayers, $request, $original, $transformed, $code);
        }

        return array_values($displayers);
    }
protected function getFiltered ( array $ displayers , Request $ request , Exception $ original , Exception $ transformed , $ code ) { foreach ( $ this -> make ( ( array ) $ this -> getConfigItem ( 'filters' ) ) as $ filter ) { $ displayers = $ filter -> filter ( $ displayers , $ request , $ original , $ transformed , $ code ) ; } return array_values ( $ displayers ) ; }
Get the filtered list of displayers.

@param \GrahamCampbell\Exceptions\Displayers\DisplayerInterface[] $displayers
@param \Illuminate\Http\Request                                   $request
@param \Exception                                                 $original
@param \Exception                                                 $transformed
@param int                                                        $code

@return \GrahamCampbell\Exceptions\Displayers\DisplayerInterface[]
Get the filtered list of displayers .