original_string: public function setSessionParams(array $params, $merge = false)
      {
          $session = $this->getSessionContainer();
  
          if (isset($session->params) && $merge) {
              $params = ArrayUtils::merge($session->params, $params);
          }
  
          $session->params = $params;
  
          return $this;
      }
code: public function setSessionParams(array $params, $merge = false)
      {
          $session = $this->getSessionContainer();
  
          if (isset($session->params) && $merge) {
              $params = ArrayUtils::merge($session->params, $params);
          }
  
          $session->params = $params;
  
          return $this;
      }
code_tokens: public function setSessionParams ( array $ params , $ merge = false ) { $ session = $ this -> getSessionContainer ( ) ; if ( isset ( $ session -> params ) && $ merge ) { $ params = ArrayUtils :: merge ( $ session -> params , $ params ) ; } $ session -> params = $ params ; return $ this ; }
docstring: Set additional params.
  
  @param array $params
  @param bool  $merge Merges with existing params.
  
  @return self
docstring_tokens: Set additional params .