{@inheritdoc}

@param  string $key
@param  mixed  $value
@return void
@throws \ReflectionException  Risen from self::checkPermissions().
198784
public function set($key, $value)
    {
        $this->checkPermissions(
            $key,
            array_key_exists($key, $this->scope)
                ? self::ACTION_MODIFY
                : self::ACTION_CREATE
        );
        $this->scope[$key] = $value;
    }
846700
protected function _set($key, $value)
    {
        if (!is_string($key)) {
            throw new Exception\InvalidArgumentException(
                "Key must be a string or a number: '$key' given"
            );
        }
        $this->_data[$key] = $value;
    }
1081692
public function set($key, $value)
    {
        $method = 'setter' . ucfirst($key);
        if (method_exists($this, $method)) {
            $value = $this->$method($value);
        }
        $this->setRaw($key, $value);
    }
185877
public function set(string $key, string $value) : self
    {
        if (!$setting = $this->get($key)) {
            $setting = new self($this->getSettingsKey());
        }

        $setting->key = $key;
        $setting->value = $value;

        if (!$setting->save()) {
            throw new Exception(current($setting->getMessages()));
        }

        return $setting;
    }
1181992
public function bind($key, $value)
    {
        $this->key[$key] = true;

        $this[$key] = $value;
    }
1077561
public function offsetSet($key, $value)
    {
        if (null === $key) {
            throw new \Exception('Config values must contain a key.');
        }
        $this->config[$key] = $value;
    }
62251
public function offsetSet($key, $value)
    {
        if (is_null($key)) {
            $this->blocks[] = $value;
        } else {
            $this->blocks[$key] = $value;
        }
    }
485297
public function set($key, $value)
    {
        $this->assertConstraintInstance($value);

        parent::set($key, $value);
    }
1170565
public function set(string $key, $value)
    {
        parent::set(Formater::normalize($key), [
            'key' => $key,
            'value' => $value
        ]);
    }
953477
public function push($key, $value)
    {
        $config = $this->get($key);

        $this->setSingleItem($key, \array_push($config, $value));
    }
978504
public function setHeader(string $key, string $value): void
    {
        $this->buildStructuredHeaders();
        $lkey = strtolower($key);
        if (isset($this->structuredHeaders[$lkey])) {
            $this->structuredHeaders[$lkey]['value'] = $value;
        } else {
            $newHeader = array('key' => $key, 'value' => $value);
            $this->structuredHeaders[$lkey] = $newHeader;
        }
        $this->storeStructuredHeader();
    }
1357525
public function set($key, $value) {
		if (null === $key) {
			$this->_data[] = $value;
		} else {
			$this->_data[$key] = $value;
		}
	}
285766
public function offsetSet($key, $value)
    {
        if (Arr::accessible($this->value)) {
            $this->value[$key] = $value;
        }
    }
288625
public function setSettingsValue($key, $value)
    {
        if ($this->isKeyAllowed($key)) {
            return;
        }

        $this->fieldValues[$key] = $value;
    }
733464
public function settingsSet($key, $value)
    {
        $allSettings = $this->settingsGetAll();
        $allSettings[$key] = $value;
        $this->settingsSetAll($allSettings);
    }
306001
public function set($key, $value = null)
    {
        if (is_array($key)) {
            $key = $this->flattenArray($key);
            $this->settings = array_merge($this->settings, $key);
        } else {
            $this->settings[$key] = $value;
        }
    }
720883
public function iteration($value, $key = null)
    {
        if (is_null($key)) {
            $this->_iterations[] = $value;
        } else {
            $this->_iterations[$key] = $value;
        }
    }