File tree 2 files changed +29
-0
lines changed
src/Symfony/Component/Form 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 517
517
If address is an object in this case, the code given in "Before"
518
518
works without changes.
519
519
520
+ * The following methods in `Form` are deprecated and will be removed in
521
+ Symfony 2.3:
522
+
523
+ * `getTypes`
524
+ * `getErrorBubbling`
525
+ * `getNormTransformers`
526
+ * `getClientTransformers`
527
+
528
+ You can access these methods on the `FormConfigInterface` object instead.
529
+
530
+ Before:
531
+
532
+ ```
533
+ $form->getErrorBubbling()
534
+ ```
535
+
536
+ After:
537
+
538
+ ```
539
+ $form->getConfig()->getErrorBubbling();
540
+ ```
541
+
520
542
### Validator
521
543
522
544
* The methods `setMessage()`, `getMessageTemplate()` and
Original file line number Diff line number Diff line change @@ -73,3 +73,10 @@ CHANGELOG
73
73
* added option "mapped" which should be used instead of setting "property_path" to false
74
74
* "data_class" now * must* be set if a form maps to an object and should be left empty otherwise
75
75
* improved error mapping on forms
76
+ * changed Form constructor to accept a single ` FormConfigInterface ` object
77
+ * changed argument order in the FormBuilder constructor
78
+ * deprecated Form methods
79
+ * ` getTypes `
80
+ * ` getErrorBubbling `
81
+ * ` getNormTransformers `
82
+ * ` getClientTransformers `
You can’t perform that action at this time.
0 commit comments