/** * Get a (singleton) instance of the MapBuilder for this peer class. * @return MapBuilder The map builder for this peer */ public static function getMapBuilder() { if (self::$mapBuilder === null) { self::$mapBuilder = new RoleMapBuilder(); } return self::$mapBuilder; }