File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -713,14 +713,14 @@ Now the :class:`Symfony\\Component\\OptionsResolver\\OptionsResolver` instance
713
713
will be created once per class and reused from that on. Be aware that this may
714
714
lead to memory leaks in long-running applications, if the default options contain
715
715
references to objects or object graphs. If that's the case for you, implement a
716
- method ``clearDefaultOptions () `` and call it periodically::
716
+ method ``clearOptionsConfig () `` and call it periodically::
717
717
718
718
// ...
719
719
class Mailer
720
720
{
721
721
private static $resolversByClass = array();
722
722
723
- public static function clearDefaultOptions ()
723
+ public static function clearOptionsConfig ()
724
724
{
725
725
self::$resolversByClass = array();
726
726
}
You can’t perform that action at this time.
0 commit comments