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:
513513PdoStore
514514~~~~~~~~
515515
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::
519518
520519 use Symfony\Component\Lock\Store\PdoStore;
521520
522- // a PDO or DSN for lazy connecting through PDO
521+ // a PDO instance or DSN for lazy connecting through PDO
523522 $databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
524523 $store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
525524
@@ -579,9 +578,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
579578PostgreSqlStore
580579~~~~~~~~~~~~~~~
581580
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
585583locks::
586584
587585 use Symfony\Component\Lock\Store\PostgreSqlStore;
You can’t perform that action at this time.
0 commit comments