8000 Merge branch '6.3' into 6.4 · symfony/symfony-docs@0f6360c · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f6360c

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

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
@@ -518,13 +518,12 @@ MongoDB Connection String:
518518
PdoStore
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.
584583
PostgreSqlStore
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
590588
locks::
591589

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

0 commit comments

Comments
 (0)
0