Skip to content

Commit 288e9b5

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Tweaks Add mentions where to find configCache
2 parents c50a5f8 + 3a7c27f commit 288e9b5

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy