-
Notifications
You must be signed in to change notification settings - Fork 101
Native Enums Support #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Native enums aren't currently supported. However, a PR adding support for 8.1 will be happily accepted. Support for |
Do you have some estimate of the scope? What would the PR need to implement? Would be helpful if someone wants to try and send such PR. Not saying I'll try. It's possible but can't promise it yet. |
I'm not familiar with the enum portion of the lib, but you'd basically just have to translate an It's probably about 3-4 hours of coding work to get looking good and maybe another hour to get the PR wrapped up. |
@oojacoboo this can be closed since the PR is merged |
From the documentation I can see that this library supports myclabs/php-enum.
The upcoming PHP 8.1 will however have native enums. Are native enums supported as well? If not is there a plan to add the support? I'd like to move away from using myclabs enums if possible.
The text was updated successfully, but these errors were encountered: