Page MenuHomePhabricator

Make Lexeme require ID, language, and category in the constructor
Closed, InvalidPublic


Entities that have required fields should require them in the constructor (see discussion document). Thus, Lexeme should require the ID, a language, and a lexical category.

This is an alternative proposal to T162809: Rethink and streamline Lexeme class constructors.

Event Timeline