public function updatePageVersionABTestingAmount($pageVersionId, $amount) { return $this->PageVersionManager->updatePageVersionABTestingAmount($pageVersionId, $amount); }
/** * Updates the page version's ab testing percentage * amount. This percentage is the chance it will be picked * during the dice roll for A|B testing * * @param [type] $input * @return [type] */ public function requestUpdatePageVersionAbTesting($input) { $pageVersionId = $input['pageVersionId']; $amount = $input['amount']; $this->PageManager->updatePageVersionABTestingAmount($pageVersionId, $amount); return ''; }