Skip to content

Commit e8324ad

Browse files
committed
minor #14661 [DependencyInjection] Minor modification about the .meta file contents (l-vo)
This PR was merged into the 4.4 branch. Discussion ---------- [DependencyInjection] Minor modification about the .meta file contents The explanation about the `.meta` file contents is not totally true. Only `ComposerResource` stores timestamps (for `installed.json` files). For project source and configuration files involved in the generation of a file in the cache, the `filemtime` is directly used to retrieve the resource timestamp and to compare it with the `filemtime` of the generated file. Source: https://github.com/symfony/symfony/blob/21ef411cc96459d0d87ac3e1d565aca4bba1cb21/src/Symfony/Component/Config/Resource/FileResource.php#L65 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- f2a3cf5 Minor modification about the .meta file contents
2 parents 33a6990 + f2a3cf5 commit e8324ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,8 @@ Now the cached dumped container is used regardless of whether debug mode
564564
is on or not. The difference is that the ``ConfigCache`` is set to debug
565565
mode with its second constructor argument. When the cache is not in debug
566566
mode the cached container will always be used if it exists. In debug mode,
567-
an additional metadata file is written with the timestamps of all the resource
568-
files. These are then checked to see if the files have changed, if they
567+
an additional metadata file is written with all the involved resource
568+
files. These are then checked to see if their timestamps have changed, if they
569569
have the cache will be considered stale.
570570

571571
.. note::

0 commit comments

Comments
 (0)