Download the PHP package tkachikov/enum-values without Composer
On this page you can find all versions of the php package tkachikov/enum-values. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tkachikov/enum-values
More information about tkachikov/enum-values
Files in tkachikov/enum-values
Download tkachikov/enum-values
More information about tkachikov/enum-values
Files in tkachikov/enum-values
Vendor tkachikov
Package enum-values
Short Description Set methods for get values and keys from a enum
License MIT
Package enum-values
Short Description Set methods for get values and keys from a enum
License MIT
Please rate this library. Is it a good library?
Informations about the package enum-values
Enum Values Trait
Description
This PHP package provides a trait EnumValuesTrait
that adds utility methods for working with enumerations (enums).
Installation
To install the package, run the following command:
Usage
Include the trait into your enum class:
Now you can use the methods getKeys()
, getValues()
, getByKey()
and getByValue()
for interacting with the enum:
Author
Alex Tkachikov Email: [email protected]
License
MIT
All versions of enum-values with dependencies
PHP Build Version
Package Version
No informations.
The package tkachikov/enum-values contains the following files
Loading the files please wait ....