Skip to content

[DependencyInjection] Add mentions where to find configCache #20035

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

sukhoy94
Copy link
Contributor

@sukhoy94 sukhoy94 commented Jul 9, 2024

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? 🙏

@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

@javiereguiluz javiereguiluz added this to the 6.4 milestone Jul 18, 2025
@carsonbot carsonbot changed the title Add mentions where to find configCache [DependencyInjection] Add mentions where to find configCache Jul 18, 2025
@javiereguiluz javiereguiluz changed the base branch from 7.1 to 6.4 July 18, 2025 14:05
@javiereguiluz javiereguiluz requested a review from xabbuh as a code owner July 18, 2025 14:05
@javiereguiluz javiereguiluz merged commit bbf4764 into symfony:6.4 Jul 18, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Merged! Thanks Andrii.

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.

5 participants