We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f179ec7 commit a1badc5Copy full SHA for a1badc5
components/options_resolver.rst
@@ -713,14 +713,14 @@ Now the :class:`Symfony\\Component\\OptionsResolver\\OptionsResolver` instance
713
will be created once per class and reused from that on. Be aware that this may
714
lead to memory leaks in long-running applications, if the default options contain
715
references to objects or object graphs. If that's the case for you, implement a
716
-method ``clearDefaultOptions()`` and call it periodically::
+method ``clearOptionsConfig()`` and call it periodically::
717
718
// ...
719
class Mailer
720
{
721
private static $resolversByClass = array();
722
723
- public static function clearDefaultOptions()
+ public static function clearOptionsConfig()
724
725
self::$resolversByClass = array();
726
}
0 commit comments