code: protected function loadFromArray(array $params)
      {
          if (count($params) > 0) {
              if (isset($params['soapHeaderVersion'])) {
                  $this->soapHeaderVersion = $params['soapHeaderVersion'];
              }
  
              $this->loadWsdl($params);
              $this->loadStateful($params);
              $this->loadLogger($params);
  
              $this->loadAuthParams($params);
  
              $this->loadOverrideSoapClient($params);
              $this->loadSoapClientOptions($params);
  
              $this->loadTransactionFlowLink($params);
          }
      }
docs: Load parameters from an associative array
  
  @param array $params
  @return void