Knowledge

Enumerations

Materials

  • PHP: Enumerations - Manual
    Tutorialphp.net
    Enumerations, or "Enums" allow a developer to define a custom type that is limited to one of a discrete number of possible values. That can be especially helpful when defining a domain model, as it enables "making invalid states unrepresentable."
Skillsets
Do you know that ...?
Any useful or interesting facts about the skill. Any peace of information would be useful