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
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -551,7 +551,11 @@ You can provide your own `adapter`, you just need to create a new class which im
551
551
552
552
You can also write your own `provider` by implementing the `ProviderInterface`.
553
553
554
-
You can provide your own `result` by extending `ResultFactory` and implementing `ResultInterface` if your provider returns more informations than the default one.
554
+
You can provide your own `result` by extending `DefaultResultFactory` or `MultipleResultFactory` and implementing
555
+
`ResultInterface` if your provider returns one or multiple results and more informations than the default one.
556
+
Please note that the method `createFromArray` is marked `final` in these factories.
557
+
558
+
If you need your own `ResultFactory`, just implement `ResultFactoryInterface`.
555
559
556
560
Note, `AbstractProvider` and `AbstractResult` classes can help you by providing useful features.
0 commit comments