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;
    }
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;
    }
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 ; }
Set additional params.

@param array $params
@param bool  $merge Merges with existing params.

@return self
Set additional params .