예제 #1
0
 /**
  * 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;
 }
예제 #2
0
 /**
  * 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;
 }