public function set($key, $value) { return $this->data = \igorw\assoc_in($this->data, $this->makePath($key), $value); }
/** * Set a value to a property * * @param array|string $props The property to set * @param mixed $value * * @return mixed The set value */ public function set($props, $value) { $this->conf->setConfig(\igorw\assoc_in($this->conf->getConfig(), $this->arrayize($props), $value)); return $value; }