public function guessFilterValue(
        Result $result,
        Aggregation $aggregation,
        Counter $counter
    ): string {
        return $counter->isUsed()
            ? $this->removeFilterValue(
                $result,
                $aggregation->getName(),
                $counter->getId()
            )
            : $this->addFilterValue(
                $result,
                $aggregation->getName(),
                $counter->getId()
            );
    }
public function guessFilterValue(
        Result $result,
        Aggregation $aggregation,
        Counter $counter
    ): string {
        return $counter->isUsed()
            ? $this->removeFilterValue(
                $result,
                $aggregation->getName(),
                $counter->getId()
            )
            : $this->addFilterValue(
                $result,
                $aggregation->getName(),
                $counter->getId()
            );
    }
public function guessFilterValue ( Result $ result , Aggregation $ aggregation , Counter $ counter ) : string { return $ counter -> isUsed ( ) ? $ this -> removeFilterValue ( $ result , $ aggregation -> getName ( ) , $ counter -> getId ( ) ) : $ this -> addFilterValue ( $ result , $ aggregation -> getName ( ) , $ counter -> getId ( ) ) ; }
Guess filter value.

@param Result      $result
@param Aggregation $aggregation
@param Counter     $counter

@return string
Guess filter value .