Feature: #78575 - Enumeration constants don't provide their names

See forge#78575


Requesting the name of Enumeration constants has been introduced.

There are two methods you can use: MyEnumerationClass::getName($value); will return the name exactly as it is. Usually this will be all uppercase and underscores. MyEnumerationClass::getHumanReadableName($value); replaces underscores with spaces and turns all words into lowercase with the first letter uppercase.


You can use the constant names as part of your application more easily.