public static function findFilters($om, array $filters, $all = false)
    {
        if (!$om instanceof EntityManagerInterface || (empty($filters) && !$all)) {
            return [];
        }

        $all = ($all && !empty($filters)) ? false : $all;
        $enabledFilters = self::getEnabledFilters($om);

        return self::doFindFilters($filters, $enabledFilters, $all);
    }
public static function findFilters($om, array $filters, $all = false)
    {
        if (!$om instanceof EntityManagerInterface || (empty($filters) && !$all)) {
            return [];
        }

        $all = ($all && !empty($filters)) ? false : $all;
        $enabledFilters = self::getEnabledFilters($om);

        return self::doFindFilters($filters, $enabledFilters, $all);
    }
public static function findFilters ( $ om , array $ filters , $ all = false ) { if ( ! $ om instanceof EntityManagerInterface || ( empty ( $ filters ) && ! $ all ) ) { return [ ] ; } $ all = ( $ all && ! empty ( $ filters ) ) ? false : $ all ; $ enabledFilters = self :: getEnabledFilters ( $ om ) ; return self :: doFindFilters ( $ filters , $ enabledFilters , $ all ) ; }
Get the list of SQL Filter name must to be disabled.

@param null|ObjectManager $om      The object manager instance
@param string[]           $filters The list of SQL Filter
@param bool               $all     Force all SQL Filter

@return string[]
Get the list of SQL Filter name must to be disabled .