Article
PHP: Enumerations - Manual
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."
Skills that you will get in this material
External link:
https://www.php.net/manual/en/language.enumerations.php