@param string $key
@param object $value

@return $this

@throws Exception\PropertyException
323502
public function setObject($key, $value)
    {
        if (!settype($value, 'object')) {
            $errMsg = 'Ошибка при конвертации к типу object';
            throw new Exception\PropertyException($errMsg);
        }
        $this->set(self::OBJECT, $key, $value);

        return $this;
    }
223245
public function addProperty(string $key, string $value) : DataSet
    {
        $this->properties[$key] = $value;

        return $this;
    }
387244
public function set($key, $value)
    {
        $hash = $this->key_to_hash($key);
        $this->array[$hash] = $value;
        return $this;
    }
954795
public function bind($key, $value)
    {
        if(is_callable($value)) {
            $this->aliases[$key] = $value;
        } elseif(is_object($value)) {
            $this->resolved[$key]  = $value;
        } else {
            if(class_exists($value)) $this->aliases[$key] =  $value;
            else throw new Exception("Class [ $value ] does not exist.");
        }
    }
323813
public function set($key, $value)
    {

        if (empty($key)) return false;

        $this->engineVarList->$key = $value;

        return $this;
    }
734781
public function set(string $key, $value): Definition
    {
        $this->data[$key] = $value;

        return $this;
    }
121855
public function set($key, $value) {
        $key = $this->getAbsoluteConfigKey($key);

        array_set($this->config, $key, $value);

        return $this;
    }
665163
public function setAttribute($key, $value)
    {
        if ($this->hasSetMutator($key)) {
            $method = sprintf($this->methodNameSetMutator, Str::studly($key));

            return $this->{$method}($value);
        }

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

        return $this;
    }
1279013
public function setParam(string $key, $value): Mapping
    {
        $this->_mapping[$key] = $value;

        return $this;
    }
207974
public function set($key, $value)
	{
		if ($this->readOnly)
		{
			throw new \RuntimeException('Changing values on this Data Container is not allowed.');
		}

		$this->isModified = true;

		if ($key === null)
		{
			$this->data[] = $value;

			return $this;
		}

		Arr::set($this->data, $key, $value);

		return $this;
	}
1198646
public function set(string $key, $value): self
    {
        $this->data[$key] = $value;

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

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

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

		return $this;
	}
1185226
public function offsetSet($key, $value)
    {
        if (is_null($key)) {
            $this->values[] = $value;
        } else {
            $this->values[$key] = $value;
        }

        return $this;
    }
76030
public function setPropertyValue($property, $value) {

        if ($value instanceof ClassMapper) {
            $value = $value->getInstance();
        }

        $this
            ->getProperty($property)
            ->setValue($this->instance, $value);

        return $this;
    }
190820
public function set(string $key, $value): self
    {
        $this->options[$key] = $value;

        return $this;
    }
488216
public function set(string $key, $value){
        if($this->status() !== self::ACTIVE){
            throw Exception\SessionException::notStarted();
        }

        $_SESSION[$key] = $value;
    }