8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c718a8e commit 732b863Copy full SHA for 732b863
src/Symfony/Component/Form/FormErrorIterator.php
@@ -19,10 +19,9 @@
19
/**
20
* Iterates over the errors of a form.
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.
+ * This class supports recursive iteration. In order to iterate recursively,
+ * pass a structure of {@link FormError} and {@link FormErrorIterator} objects
+ * to the $errors constructor argument.
26
27
* You can also wrap the iterator into a {@link \RecursiveIteratorIterator} to
28
* flatten the recursive structure into a flat list of errors.
0 commit comments