You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,3 +119,20 @@ $A->andRule($B)
119
119
```
120
120
121
121
by default, isNotSatisfied() returns !isSatisfied(). But sometimes, you may want to personnalize the doIsNotSatisfied() method in order to optimize workflow (like SQL queries).
122
+
123
+
## Customization
124
+
125
+
### Setting Exception class and message error
126
+
127
+
If you have one generic rule (e.g. : ObjectIsEqual), you may need to have different exception thrown when composing complex rules.
0 commit comments