Filter/AbstractFieldsFilter.php
public function filter($response)
    {
        $filter = $this->_request->getParam(static::FILTER_PARAMETER);
        if (!is_string($filter)) {
            return $response;
        }
        $filterArray = $this->parse($filter);
        if ($filterArray === null) {
            return $response;
        }
        $partialResponse = $this->applyFilter($response, $filterArray);
        return $partialResponse;
    }
public function filter($response)
    {
        $filter = $this->_request->getParam(static::FILTER_PARAMETER);
        if (!is_string($filter)) {
            return $response;
        }
        $filterArray = $this->parse($filter);
        if ($filterArray === null) {
            return $response;
        }
        $partialResponse = $this->applyFilter($response, $filterArray);
        return $partialResponse;
    }
public function filter ( $ response ) { $ filter = $ this -> _request -> getParam ( static :: FILTER_PARAMETER ) ; if ( ! is_string ( $ filter ) ) { return $ response ; } $ filterArray = $ this -> parse ( $ filter ) ; if ( $ filterArray === null ) { return $ response ; } $ partialResponse = $ this -> applyFilter ( $ response , $ filterArray ) ; return $ partialResponse ; }
Process filter from the request and apply over response to get the partial results

@param array $response
@return array response
Process filter from the request and apply over response to get the partial results