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 @@ -512,13 +512,12 @@ MongoDB Connection String:
512
512
PdoStore
513
513
~~~~~~~~
514
514
515
- The PdoStore saves locks in an SQL database. It is identical to DoctrineDbalStore
516
- but requires a `PDO `_ connection or a `Data Source Name (DSN) `_. This store does
517
- not support blocking, and expects a TTL to avoid stalled locks::
515
+ The PdoStore saves locks in an SQL database. It requires a `PDO `_ connection or a `Data Source Name (DSN) `_.
516
+ This store does not support blocking, and expects a TTL to avoid stalled locks::
518
517
519
518
use Symfony\Component\Lock\Store\PdoStore;
520
519
521
- // a PDO or DSN for lazy connecting through PDO
520
+ // a PDO instance or DSN for lazy connecting through PDO
522
521
$databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
523
522
$store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
524
523
@@ -573,9 +572,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
573
572
PostgreSqlStore
574
573
~~~~~~~~~~~~~~~
575
574
576
- The PostgreSqlStore and DoctrineDbalPostgreSqlStore uses `Advisory Locks `_ provided by PostgreSQL.
577
- It is identical to DoctrineDbalPostgreSqlStore but requires `PDO `_ connection or
578
- a `Data Source Name (DSN) `_. It supports native blocking, as well as sharing
575
+ The PostgreSqlStore uses `Advisory Locks `_ provided by PostgreSQL. It requires a
576
+ `PDO `_ connection or a `Data Source Name (DSN) `_. It supports native blocking, as well as sharing
579
577
locks::
580
578
581
579
use Symfony\Component\Lock\Store\PostgreSqlStore;
You can’t perform that action at this time.
0 commit comments