protected static function doFindFilters(array $filters, array $enabledFilters, $all)
    {
        $reactivateFilters = [];

        foreach ($enabledFilters as $name => $filter) {
            if (\in_array($name, $filters, true) || $all) {
                $reactivateFilters[] = $name;
            }
        }

        return $reactivateFilters;
    }
protected static function doFindFilters(array $filters, array $enabledFilters, $all)
    {
        $reactivateFilters = [];

        foreach ($enabledFilters as $name => $filter) {
            if (\in_array($name, $filters, true) || $all) {
                $reactivateFilters[] = $name;
            }
        }

        return $reactivateFilters;
    }
protected static function doFindFilters ( array $ filters , array $ enabledFilters , $ all ) { $ reactivateFilters = [ ] ; foreach ( $ enabledFilters as $ name => $ filter ) { if ( \ in_array ( $ name , $ filters , true ) || $ all ) { $ reactivateFilters [ ] = $ name ; } } return $ reactivateFilters ; }
Do find filters.

@param string[]    $filters        The filters names to be found
@param SQLFilter[] $enabledFilters The enabled SQL Filters
@param bool        $all            Force all SQL Filter

@return array
Do find filters .