src/Integration/Configuration.php
public function set($key, $value, $fromFile = false)
    {
        $keys = array_filter(explode('.', $key));

        $value = ($fromFile) ? require $value : $value;

        $this->save($keys, $this->data, $value);

        return $this;
    }
public function set($key, $value, $fromFile = false)
    {
        $keys = array_filter(explode('.', $key));

        $value = ($fromFile) ? require $value : $value;

        $this->save($keys, $this->data, $value);

        return $this;
    }
public function set ( $ key , $ value , $ fromFile = false ) { $ keys = array_filter ( explode ( '.' , $ key ) ) ; $ value = ( $ fromFile ) ? require $ value : $ value ; $ this -> save ( $ keys , $ this -> data , $ value ) ; return $ this ; }
Sets the value to the specified key.

@param  string  $key
@param  mixed   $value
@param  boolean $fromFile
@param  mixed
@return self
Sets the value to the specified key .