Skip to content
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

Open
wants to merge 2 commits into
base: 7.1
Choose a base branch
from
Open

Conversation

sukhoy94
Copy link
Contributor

@sukhoy94 sukhoy94 commented Jul 9, 2024

Added mention where to find ConfigCache class. To be used in $containerCache->write()

Added mention where to find ConfigCache class. To be used in 
$containerCache->write()
@sukhoy94
Copy link
Contributor Author

sukhoy94 commented Jul 11, 2024

@carsonbot can someone review it? 🙏

Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
@sukhoy94
Copy link
Contributor Author

@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.
Copy link
Contributor

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

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants