protected function getFilter()
    {
        $supports = $this->supports();
        $filters = $this->entityManager->getFilters()->getEnabledFilters();
        $fFilter = null;

        foreach ($filters as $name => $filter) {
            if ($filter instanceof $supports) {
                $fFilter = $filter;

                break;
            }
        }

        return $fFilter;
    }
protected function getFilter()
    {
        $supports = $this->supports();
        $filters = $this->entityManager->getFilters()->getEnabledFilters();
        $fFilter = null;

        foreach ($filters as $name => $filter) {
            if ($filter instanceof $supports) {
                $fFilter = $filter;

                break;
            }
        }

        return $fFilter;
    }
protected function getFilter ( ) { $ supports = $ this -> supports ( ) ; $ filters = $ this -> entityManager -> getFilters ( ) -> getEnabledFilters ( ) ; $ fFilter = null ; foreach ( $ filters as $ name => $ filter ) { if ( $ filter instanceof $ supports ) { $ fFilter = $ filter ; break ; } } return $ fFilter ; }
Get the supported filter.

@return null|SQLFilter
Get the supported filter .