function removeFilter(iFilterStream $filter)
    {
        $filterName = $filter->getLabel();
        if (isset($this->attachedFilters[$filterName])) {
            $filterRes = $this->attachedFilters[$filterName];

            stream_filter_remove($filterRes);
            unset($this->attachedFilters[$filterName]); // filter was removed
        }

        return $this;
    }
function removeFilter(iFilterStream $filter)
    {
        $filterName = $filter->getLabel();
        if (isset($this->attachedFilters[$filterName])) {
            $filterRes = $this->attachedFilters[$filterName];

            stream_filter_remove($filterRes);
            unset($this->attachedFilters[$filterName]); // filter was removed
        }

        return $this;
    }
function removeFilter ( iFilterStream $ filter ) { $ filterName = $ filter -> getLabel ( ) ; if ( isset ( $ this -> attachedFilters [ $ filterName ] ) ) { $ filterRes = $ this -> attachedFilters [ $ filterName ] ; stream_filter_remove ( $ filterRes ) ; unset ( $ this -> attachedFilters [ $ filterName ] ) ; // filter was removed } return $ this ; }
Remove Given Filter From Resource

@param iFilterStream $filter

@return $this
Remove Given Filter From Resource