File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/cache/adapters Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ This adapter allows combining any number of the other
1212fetched from the first adapter containing them and cache items are saved to all the
1313given 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
1616lifetime 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 ::
You can’t perform that action at this time.
0 commit comments