code: protected function loadFromArray(array $params)
      {
          if (isset($params['returnXml']) && is_bool($params['returnXml'])) {
              $this->returnXml = $params['returnXml'];
          }
  
          $this->loadRequestCreator($params);
          $this->loadSessionHandler($params);
          $this->loadResponseHandler($params);
  
          $this->loadAuthParams($params);
  
          $this->loadSessionHandlerParams($params);
          $this->loadRequestCreatorParams($params);
      }
docs: Load parameters from an associative array
  
  @param array $params
  @return void