Alias for {@link Update::value()} or {@link Update::values()}

@param mixed $key
@param mixed $value
@return $this
429846
public function set($key, $value = null)
    {
        if( is_array($key) ) {
            $this->values($key);
        } else {
            $this->value($key, $value);
        }
        return $this;
    }
188631
public function setConfig($key,$value = ''){
		if(is_array($key)){
			$this->_config = array_merge($this->_config,$key);
		}
		else{
			$this->_config[$key] = $value;
		}
		$this->updateConfig();
		
		return $this;
	}
470713
public function set( $key, $value ) {
		$key = $this->addKeyprefixIfNeeded( $key );
		$this->params[$key] = $value;
		return $this;
	}
51546
public function setParam($key, $value)
    {
        $this->data[self::P_PARAMS][$key] = $value;

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

        return $this;
    }
717188
public function onDuplicateKeyUpdate($key, $value = null)
    {
        if( func_num_args() == 2 ) {
            $this->onDuplicateKeyUpdate[$key] = $value;
        } else if( $key instanceof Expression ) {
            $this->onDuplicateKeyUpdate[] = $key;
        } else if( is_array($key) ) {
            $this->onDuplicateKeyUpdate = $key;
        }
        return $this;
    }
1265924
public function setOption($key, $value=null)
    {
        if (is_array($key)) {
            $opts = static::_parseOptions($key);
            $this->options = array_merge($this->options, $opts);
        } else {
            $options = static::_parseOptions([$key => $value]);
            $this->options = array_merge($this->options, $opts);
        }
        
        return $this;
    }
506162
public function set($key, $value) {
        $this->_data[$this->_namespace][$key] = $value;
        return $this;
    }
700027
public function set($key, $value)
    {
        $this->session->set(self::BASE_KEY.'.'.$key, $value);

        return $this;
    }
418009
public function put($key, $value = '')
    {
        Arr::set($this->attributes, $key, $value);

        return $this;
    }
666671
protected function setArg($key, $value) {
            if ($value !== null) {
                $this->args[$key] = $value;
            }

            return $this;
        }
780336
public function set($key, $value) {
        if (is_array($key)) {
            $this->data = array_merge($this->data, $key);
        } else {
            $this->data[ $key ] = $value;
        }
        return $this;
    }
181601
public function set($key, $value = null)
    {
        $key = $this->resolveAlias($key);

        $mutator = 'set' . $this->toCamelCase($key) . 'Value';

        if (is_callable([$this, $mutator])) {
            $this->$mutator($value);
        } else {
            $this->data[$key] = $value;
        }

        return $this;
    }
673222
public function equalTo($key, $value)
    {
        if ($value === null)
        {
            $this->doesNotExist($key);
        } else
        {
            $this->where[$key] = $value;
        }

        return $this;
    }
1365503
public function set($key, $value = null)
    {
        if (is_array($key))
        {
            foreach ($key as $name => $value)
            {
                $this->_data[$name] = $value;
            }
        }
        else
        {
            $this->_data[$key] = $value;
        }

        return $this;
    }
1175722
public function set($key, $value)
	{
		$this->data[$key] = $this->close($value);

		return $this;
	}
673930
public function setOption($key, $value)
    {

        $this->getTargetConfigurableObject()
            ->setOption($this->getOptionName($key), $value);

        return $this;
    }