1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-13 00:14:05 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Samuel Levy
0c87357a6e
Extend functionality to work with pure enums (#6)
* Extend functionality to work with pure enums

* Code review changes

Altered `::values()` to act like `::names()` for backed enums, code style fixes, general cleanups
2022-03-23 21:42:35 +01:00
Eric Junker
54bedefb79
use array_column() to get the names, values, and options (#3) 2022-02-21 13:32:07 +01:00
PHP CS Fixer
17d3a21188 Fix code style (php-cs-fixer) 2022-02-20 20:51:14 +00:00
Samuel Štancl
e01edd128f add options() method, resolve #2 2022-02-20 21:50:53 +01:00