File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -435,13 +435,15 @@ if you need to use other options during normalization::
435
435
}
436
436
}
437
437
438
+ To normalize a new allowed value in sub-classes that are being normalized
439
+ in parent classes use :method: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver::addNormalizer `.
440
+ This way, the ``$value `` argument will receive the previously normalized
441
+ value, otherwise you can prepend the new normalizer by passing ``true `` as
442
+ third argument.
443
+
438
444
.. versionadded :: 4.3
439
445
440
- To normalize a new allowed value in sub-classes that is being normalized
441
- in parent classes use :method: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver::addNormalizer `.
442
- This way, the ``$value `` argument will receive the previously normalized
443
- value, otherwise you can prepend the new normalizer by passing ``true `` as
444
- third argument.
446
+ The ``addNormalizer() `` method was introduced in Symfony 4.3.
445
447
446
448
Default Values that Depend on another Option
447
449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments