Sets revalidation counter value

@param string $variableName
@param int    $value
432853
public static function setRevalidationCounter(string $variableName = '_MF_SESSION_REVALIDATION_COUNTER_',
                                                  int $value = 0): void
    {
        static::init();
        $variableName = (string)$variableName;
        $vHandler = Variables::getInstance();
        $vHandler->session->set($variableName, $value);
    }
45026
public function set($name, $value)
    {
        if (!is_numeric($value)) {
            throw new NotNumerical($name, $value);
        }
        $this->statistics[$name] = $value;
    }
2266
public function setValue($name, $value) {
        $this->_states[count($this->_states) - 1][1][$name] = $value;
    }
747901
public static function set($var, $value) {
        //  	var_dump($var." ".$value);
        Session::init(true);
        if (!Session::check_checksum()) return false;
        $_SESSION[$var] = $value;
        $_SESSION[__SESSION_checksum_var] = Session::make_checksum();
        return $value;
    }
363002
public function setVariable($variable, $value)
    {
        return $this->client->channels()->setVariable($this->id, $variable, $value);
    }
461237
public void setTrainingLabel(int variable, int value) {
    getVariableMetaDataByReference(variable).put(LogLikelihoodDifferentiableFunction.VARIABLE_TRAINING_VALUE, Integer.toString(value));
  }
1133859
public function setStudioSetting($varName, $value = null)
    {
        $params = array(
            'method' => 'sp.studio.set_setting',
            'setting_key' => $varName,
            'setting_value' => $value
        );

        return $this->_makeApiRequest($params);
    }
220768
public function set($name, $value)
  {
    if (is_null($value)) {
      unset($this->vars[$name]);
    } else {
      $this->vars[$name] = $value;
    }

    return $this;
  }
955168
public function incrementCounter($name, $value = 1) {
        if (!isset($this->counters[$name])) {
            $this->counters[$name] = 0;
        }
        $this->counters[$name] += $value;
    }
1189154
public function setDiscriminatorValue($value)
    {
        $this->discriminatorMap[$value] = $this->name;
        $this->discriminatorValue       = $value;
    }
116201
public function assign($name, $value = null)
    {
        if (is_array($name)) {
            foreach ($name as $k => $v) {
                $this->variables[$k] = $v;
            }
        } else {
            $this->variables[$name] = $value;
        }
    }
1169302
public static function setEnvironmentVariable($name, $value = null)
    {
        list($name, $value) = static::normaliseEnvironmentVariable($name, $value);

        static::$variables[$name] = $value;
    }
352424
public function set($variable, $value = null)
    {
        $this->variables[$variable] = array(
            'safe' => $this->htmlEncode($value),
            'unsafe' => $value
        );

        return $this;
    }
1335879
public function updateCounter($key, $value)
    {
        $this->update->updateCounter($key, new CounterOp($value));

        return $this;
    }
702146
public function set($key, $value) {
		$this->validateValue($value);
		$this->variables[$key] = $value;
	}
44455
protected function preventPropertyModification($propertyName, $value) {
		if ($this->getPropertyValue($propertyName) != $value) {
			throw new Exception(sprintf('The property "%s" must not be changed.', $propertyName), 1387294954);
		}
	}
107129
public function setUsername($value)
    {
        $this->assertValidString($value, false);

        $this->username = $value;
        if ($this->username !== '') {
            $this->flags |= 64;
        } else {
            $this->flags &= ~64;
        }
    }