src/Support/Config.php
public function set($key, $value)
    {
        Arr::set($this->configs, $key, $value);

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

        return $this;
    }
Set an array item to a given value using "dot" notation.

If no key is given to the method, the entire array will be replaced.

@param  string  $key
@param  mixed   $value
@return array