Skip to content

Commit 52ce21c

Browse files
committed
Documents condition feature
1 parent 11d40d8 commit 52ce21c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ $factory = UriFactoryDiscovery::find();
7070
```
7171

7272

73+
### Custom conditions
74+
75+
You can use various types of conditions to check for a class:
76+
77+
- string (checked for class existence)
78+
- callable
79+
- boolean
80+
81+
Any further types are treated as invalid and evaulated to false boolean value.
82+
83+
7384
## Testing
7485

7586
``` bash

0 commit comments

Comments
 (0)