code: public function setParam($name, $value)
      {
          if (!isset($this->configs[$this->currentParamType])) {
              $this->configs[$this->currentParamType] = [];
          }
  
          $this->configs[$this->currentParamType][$name] = $value;
          if (!$this->inProcessingLoop) {
              return $this->buildConfigClient();
          }
  
          return $this;
      }
docs: Set Parameter
  
  @param string $name
  @param mixed $value
  @return static