protected function removeFilterByID($id)
    {
        $this->filters = array_filter($this->filters, function (AbstractFilter $filter) use ($id) {
            return $filter->getId() != $id;
        });
    }
protected function removeFilterByID($id)
    {
        $this->filters = array_filter($this->filters, function (AbstractFilter $filter) use ($id) {
            return $filter->getId() != $id;
        });
    }
protected function removeFilterByID ( $ id ) { $ this -> filters = array_filter ( $ this -> filters , function ( AbstractFilter $ filter ) use ( $ id ) { return $ filter -> getId ( ) != $ id ; } ) ; }
Remove filter by filter id.

@param mixed $id
Remove filter by filter id .