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