File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
512512class. However, you can change this with the ``class `` option when you
You can’t perform that action at this time.
0 commit comments