Skip to content

Commit 164b8fe

Browse files
committed
Tweaks
1 parent bbf4764 commit 164b8fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/dependency_injection/compilation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,12 +501,12 @@ serves at dumping the compiled container::
501501

502502
.. tip::
503503

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

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

0 commit comments

Comments
 (0)