src/AbstractTransport.php
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;
    }
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;
    }
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 ; }
Set Parameter

@param string $name
@param mixed $value
@return static
Set Parameter