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 7b981aa commit a2e6c2aCopy full SHA for a2e6c2a
components/options_resolver.rst
@@ -437,6 +437,14 @@ if you need to use other options during normalization::
437
}
438
439
440
+.. versionadded:: 4.3
441
+
442
+ To normalize a new allowed value in sub-classes that is being normalized
443
+ in parent classes use :method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::addNormalizer`.
444
+ This way, the ``$value`` argument will receive the previously normalized
445
+ value, otherwise you can prepend the new normalizer by passing ``true`` as
446
+ third argument.
447
448
Default Values that Depend on another Option
449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
450
0 commit comments