/** * Set * * @param string $key Key * @param mixed $value Value * * @return BodyInterface Body */ public function set($key, $value) { Arr::set($this->data, $key, $value); return $this; }
/** * Set Config * * @param string $key Key * @param mixed $value Value * * @return Client Client */ public function setConfig($key, $value) { Arr::set($this->config, $key, $value); return $this; }