File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,13 @@ function setAction(Action $action) {
57
57
- ` __toString() ` You can ` echo $myValue ` , it will display the enum value (value of the constant)
58
58
- ` getValue() ` Returns the current value of the enum
59
59
- ` 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
64
67
- ` search() ` Return key for searched value
65
68
66
69
### Static methods
You can’t perform that action at this time.
0 commit comments