public function set($key, $value) {
        $this->checkReadOnly();
        self::setFromKey($this->data, $key, $value, $this->separator);
    }
public function set($key, $value) {
        $this->checkReadOnly();
        self::setFromKey($this->data, $key, $value, $this->separator);
    }
public function set ( $ key , $ value ) { $ this -> checkReadOnly ( ) ; self :: setFromKey ( $ this -> data , $ key , $ value , $ this -> separator ) ; }
Set data inside

@param string[]|string $key       Key or path to the value to set
(either array or string separated with the separator)
@param mixed           $value     Value to put
Set data inside