private function getImpressionParams(Experiment $experiment, $variationId)
    {
        $impressionParams = [
            DECISIONS => [
                [
                    CAMPAIGN_ID => $experiment->getLayerId(),
                    EXPERIMENT_ID => $experiment->getId(),
                    VARIATION_ID => $variationId
                ]
            ],

            EVENTS => [
                [
                    ENTITY_ID => $experiment->getLayerId(),
                    TIMESTAMP => time()*1000,
                    UUID => GeneratorUtils::getRandomUuid(),
                    KEY => ACTIVATE_EVENT_KEY
                ]
            ]

        ];

        return $impressionParams;
    }
private function getImpressionParams(Experiment $experiment, $variationId)
    {
        $impressionParams = [
            DECISIONS => [
                [
                    CAMPAIGN_ID => $experiment->getLayerId(),
                    EXPERIMENT_ID => $experiment->getId(),
                    VARIATION_ID => $variationId
                ]
            ],

            EVENTS => [
                [
                    ENTITY_ID => $experiment->getLayerId(),
                    TIMESTAMP => time()*1000,
                    UUID => GeneratorUtils::getRandomUuid(),
                    KEY => ACTIVATE_EVENT_KEY
                ]
            ]

        ];

        return $impressionParams;
    }
private function getImpressionParams ( Experiment $ experiment , $ variationId ) { $ impressionParams = [ DECISIONS => [ [ CAMPAIGN_ID => $ experiment -> getLayerId ( ) , EXPERIMENT_ID => $ experiment -> getId ( ) , VARIATION_ID => $ variationId ] ] , EVENTS => [ [ ENTITY_ID => $ experiment -> getLayerId ( ) , TIMESTAMP => time ( ) * 1000 , UUID => GeneratorUtils :: getRandomUuid ( ) , KEY => ACTIVATE_EVENT_KEY ] ] ] ; return $ impressionParams ; }
Helper function to get parameters specific to impression event.

@param $experiment Experiment Experiment being activated.
@param $variationId String ID representing the variation for the user.

@return array Hash representing parameters particular to impression event.
Helper function to get parameters specific to impression event .