diff --git a/components/dependency_injection/compilation.rst b/components/dependency_injection/compilation.rst index f3a48b0ee8a..ed06050f7cb 100644 --- a/components/dependency_injection/compilation.rst +++ b/components/dependency_injection/compilation.rst @@ -504,7 +504,8 @@ serves at dumping the compiled container:: The ``file_put_contents()`` function is not atomic. That could cause issues in a production environment with multiple concurrent requests. Instead, use the :ref:`dumpFile() method ` from Symfony Filesystem - component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()``) + component or other methods provided by Symfony (e.g. ``$containerConfigCache->write()`` + which is part of the :doc:`Config component `) which are atomic. ``ProjectServiceContainer`` is the default name given to the dumped container