private function findFilter($filterId) {
        foreach(filter_list() as $filterName) {
            if(filter_id($filterName)===$filterId) {
                return $filterName;
            }
        }
        
        throw new \Exception('Could not find filter '.$filterId);
    }
private function findFilter($filterId) {
        foreach(filter_list() as $filterName) {
            if(filter_id($filterName)===$filterId) {
                return $filterName;
            }
        }
        
        throw new \Exception('Could not find filter '.$filterId);
    }
private function findFilter ( $ filterId ) { foreach ( filter_list ( ) as $ filterName ) { if ( filter_id ( $ filterName ) === $ filterId ) { return $ filterName ; } } throw new \ Exception ( 'Could not find filter ' . $ filterId ) ; }
Finds the filter name by filter id

@param int $filterId
@return string
@throws SanitizationException
Finds the filter name by filter id