From e1c8dc8dd912c09e6cfcee3187fad8c896c719fe Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Thu, 13 Oct 2022 17:15:50 -0400 Subject: [PATCH] Reword "max lifetime" to "default lifetime" --- components/cache/adapters/chain_adapter.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/cache/adapters/chain_adapter.rst b/components/cache/adapters/chain_adapter.rst index acb4cccaa43..b0dd5d029ee 100644 --- a/components/cache/adapters/chain_adapter.rst +++ b/components/cache/adapters/chain_adapter.rst @@ -12,7 +12,7 @@ This adapter allows combining any number of the other fetched from the first adapter containing them and cache items are saved to all the given adapters. This exposes a simple and efficient method for creating a layered cache. -The ChainAdapter must be provided an array of adapters and optionally a maximum cache +The ChainAdapter must be provided an array of adapters and optionally a default cache lifetime as its constructor arguments:: use Symfony\Component\Cache\Adapter\ChainAdapter; @@ -21,8 +21,8 @@ lifetime as its constructor arguments:: // The ordered list of adapters used to fetch cached items array $adapters, - // The max lifetime of items propagated from lower adapters to upper ones - $maxLifetime = 0 + // The default lifetime of items propagated from lower adapters to upper ones + $defaultLifetime = 0 ); .. note::