File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 19
19
/**
20
20
* Iterates over the errors of a form.
21
21
*
22
- * Optionally, this class supports recursive iteration. In order to iterate
23
- * recursively, set the constructor argument $deep to true. Now each element
24
- * returned by the iterator is either an instance of {@link FormError} or of
25
- * {@link FormErrorIterator}, in case the errors belong to a sub-form.
22
+ * This class supports recursive iteration. In order to iterate recursively,
23
+ * pass a structure of {@link FormError} and {@link FormErrorIterator} objects
24
+ * to the $errors constructor argument.
26
25
*
27
26
* You can also wrap the iterator into a {@link \RecursiveIteratorIterator} to
28
27
* flatten the recursive structure into a flat list of errors.
You can’t perform that action at this time.
0 commit comments