Enum support for PHP 8.1
peldax opened this issue · comments
- Create enumItemSet from native enum (as alternative to fromConstants) - this enum must be string backed
- Support comments using docblocks as previously
- Ability to serialize/unserialize string value into given enum
I already implemented first two tasks, but it needs some extra work.
- Replace general InvalidArgumentException with specific one.