Commit c8cdd53
committed
bug #19116 [Cache] Fix PdoAdapter examples (HypeMC)
This PR was merged into the 5.4 branch.
Discussion
----------
[Cache] Fix PdoAdapter examples
As mentioned in symfony/symfony#52460, using a DSN with the PdoAdapter is currently not supported, instead a service name should be provided, eg:
```yaml
app.my_pdo_service:
class: \PDO
arguments:
- 'pgsql:host=localhost'
```
I haven't included the actual service definition since `app.my_psr6_service` isn't included either, but if you think I should, please let me know.
Commits
-------
7ab6c81 [Cache] Fix PdoAdapter examples1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| |||
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
167 | | - | |
| 172 | + | |
168 | 173 | | |
169 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
173 | 184 | | |
174 | 185 | | |
| 186 | + | |
175 | 187 | | |
176 | 188 | | |
177 | | - | |
| 189 | + | |
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| |||
183 | 195 | | |
184 | 196 | | |
185 | 197 | | |
186 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
187 | 204 | | |
188 | 205 | | |
189 | 206 | | |
| |||
0 commit comments