public function withSaveHandler(SessionHandlerInterface $save_handler): SessionMiddleware
    {
        return new SessionMiddleware(
            $save_handler,
            $this->name,
            $this->save_path,
            $this->cache_limiter,
            $this->cache_expire,
            $this->cookie_params
        );
    }