File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -518,13 +518,12 @@ MongoDB Connection String:
518
518
PdoStore
519
519
~~~~~~~~
520
520
521
- The PdoStore saves locks in an SQL database. It is identical to DoctrineDbalStore
522
- but requires a `PDO `_ connection or a `Data Source Name (DSN) `_. This store does
523
- not support blocking, and expects a TTL to avoid stalled locks::
521
+ The PdoStore saves locks in an SQL database. It requires a `PDO `_ connection or a `Data Source Name (DSN) `_.
522
+ This store does not support blocking, and expects a TTL to avoid stalled locks::
524
523
525
524
use Symfony\Component\Lock\Store\PdoStore;
526
525
527
- // a PDO or DSN for lazy connecting through PDO
526
+ // a PDO instance or DSN for lazy connecting through PDO
528
527
$databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
529
528
$store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
530
529
@@ -584,9 +583,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
584
583
PostgreSqlStore
585
584
~~~~~~~~~~~~~~~
586
585
587
- The PostgreSqlStore and DoctrineDbalPostgreSqlStore uses `Advisory Locks `_ provided by PostgreSQL.
588
- It is identical to DoctrineDbalPostgreSqlStore but requires `PDO `_ connection or
589
- a `Data Source Name (DSN) `_. It supports native blocking, as well as sharing
586
+ The PostgreSqlStore uses `Advisory Locks `_ provided by PostgreSQL. It requires a
587
+ `PDO `_ connection or a `Data Source Name (DSN) `_. It supports native blocking, as well as sharing
590
588
locks::
591
589
592
590
use Symfony\Component\Lock\Store\PostgreSqlStore;
You can’t perform that action at this time.
0 commit comments