File tree 3 files changed +13
-3
lines changed
components/cache/adapters
3 files changed +13
-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
12
12
fetched from the first adapter containing them and cache items are saved to all the
13
13
given adapters. This exposes a simple and efficient method for creating a layered cache.
14
14
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
16
16
lifetime as its constructor arguments::
17
17
18
18
use Symfony\Component\Cache\Adapter\ChainAdapter;
@@ -21,8 +21,8 @@ lifetime as its constructor arguments::
21
21
// The ordered list of adapters used to fetch cached items
22
22
array $adapters,
23
23
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
26
26
);
27
27
28
28
.. note ::
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ Enabling React.js
6
6
7
7
Do you prefer video tutorials? Check out the `React.js screencast series `_.
8
8
9
+ .. tip ::
10
+
11
+ Check out live demos of Symfony UX React component at `https://ux.symfony.com/react `_!
12
+
9
13
Using React? First add some dependencies with Yarn:
10
14
11
15
.. code-block :: terminal
@@ -36,3 +40,4 @@ Encore, you're done!
36
40
Your ``.js `` and ``.jsx `` files will now be transformed through ``babel-preset-react ``.
37
41
38
42
.. _`React.js screencast series` : https://symfonycasts.com/screencast/reactjs
43
+ .. _`https://ux.symfony.com/react` : https://ux.symfony.com/react
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ Enabling Vue.js (``vue-loader``)
6
6
7
7
Do you prefer video tutorials? Check out the `Vue screencast series `_.
8
8
9
+ .. tip ::
10
+
11
+ Check out live demos of Symfony UX Vue.js component at `https://ux.symfony.com/vue `_!
12
+
9
13
Want to use `Vue.js `_? No problem! First enable it in ``webpack.config.js ``:
10
14
11
15
.. code-block :: diff
@@ -212,3 +216,4 @@ following in your Twig templates:
212
216
.. _`Scoped Styles` : https://vue-loader.vuejs.org/guide/scoped-css.html
213
217
.. _`CSS Modules` : https://github.com/css-modules/css-modules
214
218
.. _`Vue screencast series` : https://symfonycasts.com/screencast/vue
219
+ .. _`https://ux.symfony.com/vue` : https://ux.symfony.com/vue
You can’t perform that action at this time.
0 commit comments