protected function remove($filterOrName)
    {
        $name = $this->getNameByFilter($filterOrName);

        if ($this->has($name)) {
            unset($this->collection[$name]);

            return true;
        }

        return false;
    }
protected function remove($filterOrName)
    {
        $name = $this->getNameByFilter($filterOrName);

        if ($this->has($name)) {
            unset($this->collection[$name]);

            return true;
        }

        return false;
    }
protected function remove ( $ filterOrName ) { $ name = $ this -> getNameByFilter ( $ filterOrName ) ; if ( $ this -> has ( $ name ) ) { unset ( $ this -> collection [ $ name ] ) ; return true ; } return false ; }
Removes a filter from the collection.

@param string|FilterInterface $filterOrName

@return bool True on success, false on failure (if the filter is not found in the collection)
Removes a filter from the collection .