File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 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) {
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
You can’t perform that action at this time.
0 commit comments