Skip to content

Commit 14ade47

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: Tweaks Add mentions where to find configCache
2 parents 9ceba53 + 288e9b5 commit 14ade47

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

components/dependency_injection/compilation.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,11 +497,12 @@ serves at dumping the compiled container::
497497

498498
.. tip::
499499

500-
The ``file_put_contents()`` function is not atomic. That could cause issues
501-
in a production environment with multiple concurrent requests. Instead, use
502-
the :ref:`dumpFile() method <filesystem-dumpfile>` from Symfony Filesystem
503-
component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()``)
504-
which are atomic.
500+
The ``file_put_contents()`` function is not atomic. This can cause issues in
501+
production environments with multiple concurrent requests. Instead, use the
502+
:ref:`dumpFile() method <filesystem-dumpfile>` from the
503+
:doc:`Filesystem component </components/filesystem>` or other atomic methods
504+
provided by Symfony (e.g. the ``$containerConfigCache->write()`` method from
505+
the :doc:`Config component </components/config>`).
505506

506507
``ProjectServiceContainer`` is the default name given to the dumped container
507508
class. However, you can change this with the ``class`` option when you

0 commit comments

Comments
 (0)