Closed fredemmott closed 6 years ago
I think this change makes it so that there's no way to add an enum into a CodegenFile, since there are only methods to addClass (CodegenClassish, which no longer works for enums), addConstant, addTrait, addFunction, and add(Before/After)Types. Unless I'm missing something.
CodegenClassish has too many features, such as abstract constants, interfaces, type constants, parent classes.