src/Session/SessionMiddleware.php
public function withCookieParams(array $cookie_params): SessionMiddleware
    {
        return new SessionMiddleware(
            $this->save_handler,
            $this->name,
            $this->save_path,
            $this->cache_limiter,
            $this->cache_expire,
            $cookie_params
        );
    }
public function withCookieParams(array $cookie_params): SessionMiddleware
    {
        return new SessionMiddleware(
            $this->save_handler,
            $this->name,
            $this->save_path,
            $this->cache_limiter,
            $this->cache_expire,
            $cookie_params
        );
    }
public function withCookieParams ( array $ cookie_params ) : SessionMiddleware { return new SessionMiddleware ( $ this -> save_handler , $ this -> name , $ this -> save_path , $ this -> cache_limiter , $ this -> cache_expire , $ cookie_params ) ; }
Return a new session middleware using the given session cookie params.

@param array $cookie_params
@return \Ellipse\Session\SessionMiddleware
Return a new session middleware using the given session cookie params .