Skip to content

Commit c0bcd73

Browse files
committed
Improved documentation
1 parent 5c6d53e commit c0bcd73

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,13 @@ function setAction(Action $action) {
5757
- `__toString()` You can `echo $myValue`, it will display the enum value (value of the constant)
5858
- `getValue()` Returns the current value of the enum
5959
- `getKey()` Returns the key of the current value on Enum
60-
- `keys()` (@static) Returns the names (keys) of all constants in the Enum class
61-
- `toArray()` (@static) method Returns all possible values as an array (constant name in key, constant value in value)
62-
- `isValid()` (@static) Check if tested value is valid on enum set
63-
- `isValidKey()` (@static) Check if tested key is valid on enum set
60+
61+
Static methods:
62+
63+
- `toArray()` method Returns all possible values as an array (constant name in key, constant value in value)
64+
- `keys()` Returns the names (keys) of all constants in the Enum class
65+
- `isValid()` Check if tested value is valid on enum set
66+
- `isValidKey()` Check if tested key is valid on enum set
6467
- `search()` Return key for searched value
6568

6669
### Static methods

0 commit comments

Comments
 (0)