1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 17:34:02 +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
dbf07102e9 Fix code style (php-cs-fixer) 2022-02-20 20:54:24 +00:00
Samuel Štancl
b50d001374 add names() and values() methods, resolve #1 2022-02-20 21:53:21 +01:00