Skip to content

Commit bbf4764

Browse files
committed
minor #20035 Add mentions where to find configCache (sukhoy94)
This PR was submitted for the 7.1 branch but it was squashed and merged into the 6.4 branch instead. Discussion ---------- Add mentions where to find configCache Added mention where to find ConfigCache class. To be used in $containerCache->write() <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- cf5532d Add mentions where to find configCache
2 parents d75f662 + cf5532d commit bbf4764

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ serves at dumping the compiled container::
504504
The ``file_put_contents()`` function is not atomic. That could cause issues
505505
in a production environment with multiple concurrent requests. Instead, use
506506
the :ref:`dumpFile() method <filesystem-dumpfile>` from Symfony Filesystem
507-
component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()``)
507+
component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()``
508+
which is part of the :doc:`Config component </components/config>`)
508509
which are atomic.
509510

510511
``ProjectServiceContainer`` is the default name given to the dumped container

0 commit comments

Comments
 (0)