@since 0.1

@param string $key
@param mixed $value
357609
public function set( $key, $value ) {

		if ( isset( $this->redactedFields[$key] ) ) {
			return null;
		}

		$this->recordFields[$key] = $value;
	}
906786
public function set($key, $value) {
		$this->loadIfNeeded();

		$this->array[$key] = $value;

		$this->saver->save($this->fileName, $this->array, $this->fileMap);
	}
1176826
public function offsetSet($key, $value)
    {
        if ($this->root) {
            $this->root = $this->root->insert($key, $value, $this->comparator);
        } else {
            $this->root = TreeNode::create($key, $value);
        }
    }
146318
public function set(string $key, $value = null): void
    {
        $this->offsetSet($key, $value);
    }
347815
public function set($key, $value = null)
    {
        DotArr::set($this->data, $key, $value);
    }
1355718
public function set($key, $value)
    {
        $setting = SettingModel::create(
            [
                'key' => $key,
                'value' => $value,
            ]
        );

        return $setting ? $value : false;
    }
417366
public function set($key, $value)
    {
        $this->getSettingOrFail($key);

        $this->backend->setSetting($key, $value);
    }
1357525
public function set($key, $value) {
		if (null === $key) {
			$this->_data[] = $value;
		} else {
			$this->_data[$key] = $value;
		}
	}
1016286
public function set($key, $value)
    {
        $this->load();
        $oldValue = isset($this->values[$key]) ? $this->values[$key] : null;
        $this->values[$key] = $value;
        return $oldValue;
    }
918027
protected function setKey($key, $value)
    {
        if ($key == $this->_keyName) {
            $this->_keyValue = $value;
            $this->_key['value'] = $value;
        }
    }
119037
public function offsetSet( $key, $value )
    {
        $lowerKey = strtolower( $key );
        if ( !array_key_exists( $lowerKey, $this->lookup ) )
        {
            $this->map[$key] = $value;
            $this->lookup[$lowerKey] = $key;
        }
        else // use old case
        {
            $this->map[$this->lookup[$lowerKey]] = $value;
        }
    }
1219877
public function offsetSet($key, $value)
    {
        $this->validateValue($value);
        return parent::offsetSet($key, $value);
    }
546073
public function offsetSet($key, $value)
    {
        if ($key === 'query' && isset($value)) {
            $value = $this->_queryToArray($value);
        }
        $this->data[$key] = $value;
    }
349079
public function offsetSet($key = null, $value = null)
    {
        if(is_null($key))
            $this->attributes[] =   $value;
        else
            $this->attributes[$key] =   $value;
    }
1304362
public function setString($key, $value)
    {
        if (!$this->isDisabled()) {
            $path = $this->resolvePath($key, true);
            file_put_contents($path, $value);
        }
    }
1200989
protected function setOptional($key, $value) {
        if (!$this->has($key))
            $this->set($key, $value);
    }
344258
public function set(string $key, $value)
    {
        $array = &$this->input;
        $keys = explode('.', $key);

        while (count($keys) > 1) {
            $k = array_shift($keys);
            if (!isset($array[$k]) || ! is_array($array[$k])) {
                $array[$k] = [];
            }
            $array = &$array[$k];
        }

        $array[array_shift($keys)] = $value;
        $this->cache[$key] = &$value;
    }