往有序集合添加成员

@param string $key key
@param int $score score
@param string $value value
@return mixed
486598
public function zAdd($key, $score, $value) {
        return $this->getHandler($this->judge(__FUNCTION__))->zAdd($key, $score, $value);
    }
1361345
public function input($key, $value = null)
    {
        if (is_null($value)) {
            return array_get($this->inputs, $key);
        }

        return array_set($this->inputs, $key, $value);
    }
1204130
protected function addParam($key, $value = null)
	{
		if (is_null($value))
		{
			$this->params[] = $key;
		}
		else
		{
			$this->params[$key] = $value;
		}

	}
774449
public function share($key, $value = null)
    {
        $keys = is_array($key) ? $key : [$key => $value];

        foreach ($keys as $key => $value) {
            $this->shared[$key] = $value;
        }

        return $value;
    }
956193
public function add($key, $value, $minutes)
    {
        $this->checkReservedKeyPattern($key);

        $this->setKeywordsOperation(true);

        if ($result = parent::add($key, $value, $minutes)) {
            $this->storeKeywords($key, $minutes, $this->keywords);
        }

        $this->setKeywordsOperation(false);

        $this->resetCurrentKeywords();

        return $result;

    }
341876
public function add($key, $value = null)
	{
		// Test whether this key is already in use
		if ($this->exists($key))
		{
			// If the action is "ignore" we return the old value, if it's "error" we throw an
			// exception. Otherwise, we keep going and replace the value
			if ($this->onDuplicateAction === 'ignore')
			{
				return $this->get($key);
			}
			elseif ($this->onDuplicateAction === 'error')
			{
				throw $this->getAlreadyExistsException($key);
			}
		}

		return $this->set($key, $value);
	}
572959
public function add($key, $value, $minutes)
	{
		$key = $this->id($key);
		$seconds = $minutes * 60;

		return $this->apcu ? apcu_add($key, $value, $seconds) : apc_add($key, $value, $seconds);
	}
392626
protected function writeValue($key, $value) {
		$data = $this->readData();
		$data[$key] = $this->encode($value);

		if ($this->writeData($data)) {
			return $value;
		}

		return false;
	}
1026788
public function write($key, $value)
    {
        $key = $this->_key($key);
        $expires = time() + $this->_config['duration'];
        $this->data[$key] = ['exp' => $expires, 'val' => $value];

        return true;
    }
940833
public function assign($key, $value = null): Sdopx
    {
        if (is_string($key)) {
            $this->_book[$key] = $value;
            return $this;
        } elseif (is_array($key)) {
            foreach ($key as $k => $v) {
                $this->_book[$k] = $v;
            }
        }
        return $this;
    }
1319999
public function write($key, $value)
    {
        $key = $this->_key($key);
        $duration = $this->_config['duration'];

        return apcu_store($key, $value, $duration);
    }
288648
public function add($key, $value = null, $pop = false)
    {
        return self::addValue($this->data, $key, $value, $pop);
    }
436428
public function addParam($value, $key = null)
    {
        if ($key === null || is_int($key)) {
            $this->params[] = $value;
        } else {
            $this->params[$key] = $value;
        }
    }
1206573
public function push($key, $value = null)
    {
        if (is_array($key)) {
            $this->input = array_merge($this->input, $key);
        } else {
            $this->input[$key] = $value;
        }
    }
19913
public function set($key, $value)
    {
        $keys = explode('.', $key);

        $data = &$this->parameters;

        while (count($keys) > 1) {
            $pkey = $keys[0];

            if (!array_key_exists($pkey, $data) || !is_array($data[$pkey])) {
                $data[$pkey] = [];
            }

            $data = &$data[$pkey];
            array_shift($keys);
        }

        $data[$keys[0]] = $value;

        return $this;
    }
222986
public function appends($key, $value = null)
    {
        if (is_null($key)) {
            return $this;
        }

        if (is_array($key)) {
            return $this->appendArray($key);
        }

        return $this->addQuery($key, $value);
    }
318103
public function add($key, $value)
    {
        if (!$key) {
            return $this;
        }

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

        return $this;
    }