8000
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 1e11b50 commit c2d8feeCopy full SHA for c2d8fee
components/options_resolver.rst
@@ -733,6 +733,12 @@ method::
733
somewhere, either its value is provided by the user or the option is evaluated
734
within closures of lazy options and normalizers.
735
736
+.. note::
737
+
738
+ If you use your own deprecated option within your own library and need to fix it,
739
+ pass `false` as second argument of the :method:`Symfony\\Component\\OptionsResolver\\Options::offsetGet()` method
740
+ so as not to trigger the deprecation warning.
741
742
Instead of passing the message, you may also pass a closure which returns
743
a string (the deprecation message) or an empty string to ignore the deprecation.
744
This closure is useful to only deprecate some of the allowed types or values of
0 commit comments