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 1919/**
2020 * Iterates over the errors of a form.
2121 *
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.
2625 *
2726 * You can also wrap the iterator into a {@link \RecursiveIteratorIterator} to
2827 * flatten the recursive structure into a flat list of errors.
You can’t perform that action at this time.
0 commit comments