File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 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::
435435 }
436436 }
437437
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+
438444.. versionadded :: 4.3
439445
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.
445447
446448Default Values that Depend on another Option
447449~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments