public function setDefaultOption($keyOrPath, $value) { puzzle_set_path($this->defaults, $keyOrPath, $value); }
/** * Set a value into a nested array key. Keys will be created as needed to * set the value. * * @param string $path Path to set * @param mixed $value Value to set at the key * * @throws RuntimeException when trying to setPath using a nested path * that travels through a scalar value */ public function setPath($path, $value) { puzzle_set_path($this->data, $path, $value); }