Skip to content

Add static values() method to return array of all Enum instances (fixes #18) #19

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

Merged
merged 3 commits into from
May 19, 2015
Merged

Conversation

chriseskow
Copy link
Contributor

See #18.

@chriseskow
Copy link
Contributor Author

Seems like PHP 5.3 doesn't like the array_map closure. I'll look into it.

@mnapoli
Copy link
Member

mnapoli commented May 19, 2015

Great thanks!

mnapoli added a commit that referenced this pull request May 19, 2015
Add static values() method to return array of all Enum instances (fixes #18)
@mnapoli mnapoli merged commit 7c4cd65 into myclabs:master May 19, 2015
@chriseskow chriseskow deleted the values branch May 19, 2015 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants