src/Yandex/Metrica/Management/FiltersClient.php
public function updateFilter($id, $counterId, Models\Filter $filter)
    {
        $resource = 'counter/' . $counterId . '/filter/' . $id;
        $response = $this->sendPutRequest($resource, ["filter" => $filter->toArray()]);
        $filterResponse = new Models\UpdateFilterResponse($response);
        return $filterResponse->getFilter();
    }
public function updateFilter($id, $counterId, Models\Filter $filter)
    {
        $resource = 'counter/' . $counterId . '/filter/' . $id;
        $response = $this->sendPutRequest($resource, ["filter" => $filter->toArray()]);
        $filterResponse = new Models\UpdateFilterResponse($response);
        return $filterResponse->getFilter();
    }
public function updateFilter ( $ id , $ counterId , Models \ Filter $ filter ) { $ resource = 'counter/' . $ counterId . '/filter/' . $ id ; $ response = $ this -> sendPutRequest ( $ resource , [ "filter" => $ filter -> toArray ( ) ] ) ; $ filterResponse = new Models \ UpdateFilterResponse ( $ response ) ; return $ filterResponse -> getFilter ( ) ; }
Update counter filter

@see http://api.yandex.ru/metrika/doc/beta/management/filters/editfilter.xml

@param int $id
@param int $counterId
@param  Models\Filter $filter
@return array
Update counter filter