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

See Issue #78575

Description

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.

Impact

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