Skip to content

Commit e1c8dc8

Browse files
authored
Reword "max lifetime" to "default lifetime"
1 parent 959c06d commit e1c8dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/cache/adapters/chain_adapter.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This adapter allows combining any number of the other
1212
fetched from the first adapter containing them and cache items are saved to all the
1313
given adapters. This exposes a simple and efficient method for creating a layered cache.
1414

15-
The ChainAdapter must be provided an array of adapters and optionally a maximum cache
15+
The ChainAdapter must be provided an array of adapters and optionally a default cache
1616
lifetime as its constructor arguments::
1717

1818
use Symfony\Component\Cache\Adapter\ChainAdapter;
@@ -21,8 +21,8 @@ lifetime as its constructor arguments::
2121
// The ordered list of adapters used to fetch cached items
2222
array $adapters,
2323

24-
// The max lifetime of items propagated from lower adapters to upper ones
25-
$maxLifetime = 0
24+
// The default lifetime of items propagated from lower adapters to upper ones
25+
$defaultLifetime = 0
2626
);
2727

2828
.. note::

0 commit comments

Comments
 (0)