public static function getGroup($type) { if (isset(self::$group[$type])) { return self::$group[$type]; } else { return 'name' == $type ? null : []; } }