src/Primitive/Object/Object.php
public function set($property, $value)
    {
        Arr::set($this, $this->getStringable($property), $value);

        return $this;
    }
public function set($property, $value)
    {
        Arr::set($this, $this->getStringable($property), $value);

        return $this;
    }
Setter for value. Supports dot notation.
Can set value to objects, arrays, Containers, instances of ArrayableContract and ObjectContract
or create nested arrays (if dot notation is used) if was not set.

@param string|StringContract $property
@param mixed $value
@return $this