Skip to content

Commit 6f18cce

Browse files
committed
Add equals() to documentation
1 parent cfbde7a commit 6f18cce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function setAction(Action $action) {
5959
- `__toString()` You can `echo $myValue`, it will display the enum value (value of the constant)
6060
- `getValue()` Returns the current value of the enum
6161
- `getKey()` Returns the key of the current value on Enum
62+
- `equals()` Tests whether enum instances are equal (returns `true` if enum values are equal, `false` otherwise)
6263

6364
Static methods:
6465

0 commit comments

Comments
 (0)