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 @@ -518,13 +518,12 @@ MongoDB Connection String:
518518PdoStore
519519~~~~~~~~
520520
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::
524523
525524 use Symfony\Component\Lock\Store\PdoStore;
526525
527- // a PDO or DSN for lazy connecting through PDO
526+ // a PDO instance or DSN for lazy connecting through PDO
528527 $databaseConnectionOrDSN = 'mysql:host=127.0.0.1;dbname=app';
529528 $store = new PdoStore($databaseConnectionOrDSN, ['db_username' => 'myuser', 'db_password' => 'mypassword']);
530529
@@ -584,9 +583,8 @@ the :method:`Symfony\\Component\\Lock\\Store\\DoctrineDbalStore::save` method.
584583PostgreSqlStore
585584~~~~~~~~~~~~~~~
586585
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
590588locks::
591589
592590 use Symfony\Component\Lock\Store\PostgreSqlStore;
You can’t perform that action at this time.
0 commit comments