8000 [Cache] Fix PdoAdapter examples · symfony/symfony-docs@c588f38 · GitHub
[go: up one dir, main page]

Skip to content

Commit c588f38

Browse files
committed
[Cache] Fix PdoAdapter examples
1 parent 21aa775 commit c588f38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ will create pools with service IDs that follow the pattern ``cache.[type]``.
149149
# service: cache.memcached
150150
default_memcached_provider: 'memcached://localhost'
151151
# service: cache.pdo
152-
default_pdo_provider: 'pgsql:host=localhost'
152+
default_pdo_provider: 'app.my_pdo_service'
153153
154154
.. code-block:: xml
155155
@@ -177,7 +177,7 @@ will create pools with service IDs that follow the pattern ``cache.[type]``.
177177
default-psr6-provider="app.my_psr6_service"
178178
default-redis-provider="redis://localhost"
179179
default-memcached-provider="memcached://localhost"
180-
default-pdo-provider="pgsql:host=localhost"
180+
default-pdo-provider="app.my_pdo_service"
181181
/>
182182
</framework:config>
183183
</container>
@@ -200,7 +200,7 @@ will create pools with service IDs that follow the pattern ``cache.[type]``.
200200
// Service: cache.memcached
201201
->defaultMemcachedProvider('memcached://localhost')
202202
// Service: cache.pdo
203-
->defaultPdoProvider('pgsql:host=localhost')
203+
->defaultPdoProvider('app.my_pdo_service')
204204
;
205205
};
206206

0 commit comments

Comments
 (0)
0