Skip to content

Commit

Permalink
fix: correct method name in changelog to CacheDataCollector (#5250)
Browse files Browse the repository at this point in the history
There is no method "getLifetime()" in the CacheDataCollector.
Instead, it should be "resolveLifetime()" which returns the minimum
lifetime of all defined cache tags.

Related: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87840
Releases: main, 13.4
  • Loading branch information
brotkrueml authored Jan 24, 2025
1 parent 757eb50 commit d126c4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Example: Get minimum lifetime, calculated from all cache tags
:caption: Get minimum lifetime, calculated from all cache tags
$cacheDataCollector = $request->getAttribute('frontend.cache.collector');
$cacheDataCollector->getLifetime();
$cacheDataCollector->resolveLifetime();
.. _typo3-request-attribute-frontend-cache-collector-example-get-all-cache-tags:
Expand Down

0 comments on commit d126c4f

Please sign in to comment.