public function getVariationForExperiment($experimentId)
    {
        $decision = $this->getDecisionForExperiment($experimentId);
        if (!is_null($decision)) {
            return $decision->getVariationId();
        }

        return null;
    }
public function getVariationForExperiment($experimentId)
    {
        $decision = $this->getDecisionForExperiment($experimentId);
        if (!is_null($decision)) {
            return $decision->getVariationId();
        }

        return null;
    }
public function getVariationForExperiment ( $ experimentId ) { $ decision = $ this -> getDecisionForExperiment ( $ experimentId ) ; if ( ! is_null ( $ decision ) ) { return $ decision -> getVariationId ( ) ; } return null ; }
Get the variation ID for the given experiment from the experiment bucket map.

@param $experimentId string The ID of the experiment.

@return null|string The variation ID.
Get the variation ID for the given experiment from the experiment bucket map .