Skip to content

Conversation

wlkns
Copy link
Contributor

@wlkns wlkns commented May 14, 2025

This snippet adds support for string backed PHP Enums.

Example:

enum Animal: string {
   case DOG = 'dog';
   case CAT = 'cat';
   case BIRD = 'bird';
}

@wlkns
Copy link
Contributor Author

wlkns commented May 20, 2025

Ping @isublimity :) Can we get this merged or would you like any changes?

@isublimity isublimity merged commit aaf2812 into smi2:master Aug 4, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants