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:
512512PdoStore
513513~~~~~~~~
514514
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::
518517
519518 use Symfony\Component\Lock\Store\PdoStore;
520519
521- // a PDO or DSN for lazy connecting through PDO
520+ // a PDO instance or DSN for lazy connecting through PDO
522521 $databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
523522 $store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
524523
@@ -573,9 +572,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
573572PostgreSqlStore
574573~~~~~~~~~~~~~~~
575574
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
579577locks::
580578
581579 use Symfony\Component\Lock\Store\PostgreSqlStore;
You can’t perform that action at this time.
0 commit comments