Skip to content

Commit ba94e0b

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: - [Lock] 15952 Remove mention off DBAL Connection support for locking
2 parents ba82b1b + 0f6360c commit ba94e0b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

components/lock.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -512,13 +512,12 @@ MongoDB Connection String:
512512
PdoStore
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.
573572
PostgreSqlStore
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
579577
locks::
580578

581579
use Symfony\Component\Lock\Store\PostgreSqlStore;

0 commit comments

Comments
 (0)