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

@param string $name
@return \Ellipse\Session\SessionMiddleware
Return a new session middleware using the given session name .