Skip to content

Commit 440bd0f

Browse files
brotkruemlgarvinhicking
authored andcommitted
[DOCS] Correct method name in changelog to CacheDataCollector
There is no method "getLifetime()" in the CacheDataCollector. Instead, it should be "resolveLifetime()" which returns the minimum lifetime of all defined cache tags. Resolves: #105973 Related: #102422 Releases: main, 13.4 Change-Id: I6fd171395e7ae31aafdcdba7a8ad6715ba4acf1e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87840 Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Garvin Hicking <gh@faktor-e.de> Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Tested-by: Garvin Hicking <gh@faktor-e.de>
1 parent 5de9854 commit 440bd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typo3/sysext/core/Documentation/Changelog/13.3/Feature-102422-CacheDataCollectorApi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Example
7676
:caption: Get minimum lifetime, calculated from all cache tags
7777
7878
$cacheDataCollector = $request->getAttribute('frontend.cache.collector');
79-
$cacheDataCollector->getLifetime();
79+
$cacheDataCollector->resolveLifetime();
8080
8181
.. code-block:: php
8282
:caption: Get all cache tags

0 commit comments

Comments
 (0)