public function setFilters($filtersArray)
    {
        $this->filters = array();

        foreach( $filtersArray as $filter)
        {
            $this->filters[] = json_encode( $filter );
        }

    }
public function setFilters($filtersArray)
    {
        $this->filters = array();

        foreach( $filtersArray as $filter)
        {
            $this->filters[] = json_encode( $filter );
        }

    }
public function setFilters ( $ filtersArray ) { $ this -> filters = array ( ) ; foreach ( $ filtersArray as $ filter ) { $ this -> filters [ ] = json_encode ( $ filter ) ; } }
Configure the filters for this request.

@param $filtersArray PHP Array of aggregators
Configure the filters for this request .