-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mentions where to find configCache #20035
base: 7.1
Are you sure you want to change the base?
Conversation
Added mention where to find ConfigCache class. To be used in $containerCache->write()
@carsonbot can someone review it? 🙏 |
Co-authored-by: Alexandre Daubois <[email protected]>
@alexandre-daubois thx for suggestions :) |
@@ -500,7 +500,8 @@ serves at dumping the compiled container:: | |||
The ``file_put_contents()`` function is not atomic. That could cause issues | |||
in a production environment with multiple concurrent requests. Instead, use | |||
the :ref:`dumpFile() method <filesystem-dumpfile>` from Symfony Filesystem | |||
component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()``) | |||
component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()`` | |||
which is part of the :doc:`Config component </components/config>`) | |||
which are atomic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the atomic part relates to the method, not to the config component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OskarStark true, my point is just to mention where $containerConfigCache->write() may be found.
I think now it's correct, the part
which are atomic.
goes after brackets and refers to component or other methods provided by Symfony
Added mention where to find ConfigCache class. To be used in $containerCache->write()