File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/Symfony/Component/Form/Event Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1616/**
1717 * This event is dispatched at the end of the Form::setData() method.
1818 *
19- * This event is mostly here for reading data after having pre-populated the form.
19+ * It can be used to modify a form depending on the populated data (adding or
20+ * removing fields dynamically).
2021 */
2122final class PostSetDataEvent extends FormEvent
2223{
Original file line number Diff line number Diff line change 1616/**
1717 * This event is dispatched at the beginning of the Form::setData() method.
1818 *
19- * It can be used to:
20- * - Modify the data given during pre-population;
21- * - Modify a form depending on the pre-populated data (adding or removing fields dynamically).
19+ * It can be used to modify the data given during pre-population.
2220 */
2321final class PreSetDataEvent extends FormEvent
2422{
You can’t perform that action at this time.
0 commit comments