@@ -11,16 +11,16 @@ The PDO and Doctrine DBAL adapters store the cache items in a table of an SQL da
11
11
12
12
.. note ::
13
13
14
- Adapters implement :class: `Symfony\\ Component\\ Cache\\ PruneableInterface `,
15
- allowing for manual :ref: `pruning of expired cache entries <component-cache-cache-pool-prune >` by
16
- calling the ``prune() `` method.
14
+ These adapters implement :class: `Symfony\\ Component\\ Cache\\ PruneableInterface `,
15
+ allowing for manual :ref: `pruning of expired cache entries <component-cache-cache-pool-prune >`
16
+ by calling the ``prune() `` method.
17
17
18
- Using :phpclass: ` PDO `
19
- ---------------------
18
+ Using PHP PDO
19
+ -------------
20
20
21
21
The :class: `Symfony\\ Component\\ Cache\\ Adapter\\ PdoAdapter ` requires a :phpclass: `PDO `,
22
- or `Data Source Name (DSN) `_ as its first parameter, and optionally a namespace,
23
- default cache lifetime, and options array as its second, third, and forth parameters ::
22
+ or `Data Source Name (DSN) `_ as its first parameter. You can pass a namespace,
23
+ default cache lifetime, and options array as the other optional arguments ::
24
24
25
25
use Symfony\Component\Cache\Adapter\PdoAdapter;
26
26
@@ -61,14 +61,13 @@ your code.
61
61
are lazy-loaded by default; some additional options may be necessary to detect
62
62
the database engine and version without opening the connection.
63
63
64
-
65
64
Using Doctrine DBAL
66
65
-------------------
67
66
68
67
The :class: `Symfony\\ Component\\ Cache\\ Adapter\\ DoctrineDbalAdapter ` requires a
69
- `Doctrine DBAL Connection `_, or `Doctrine DBAL URL `_ as its first parameter, and
70
- optionally a namespace, default cache lifetime, and options array as its second,
71
- third, and forth parameters ::
68
+ `Doctrine DBAL Connection `_, or `Doctrine DBAL URL `_ as its first parameter.
69
+ You can pass a namespace, default cache lifetime, and options array as the other
70
+ optional arguments ::
72
71
73
72
use Symfony\Component\Cache\Adapter\DoctrineDbalAdapter;
74
73
0 commit comments