
Better, smarter enums in PHP (part 1)
While developing our application Nuvola, we often find ourselves having to rely on some sort of property representing some state of an entity. A simplified example would be the representation of what a student state in a given day is.…