Skip to content

[Lock] Documentation about PostgreSqlStore and DoctrineDbalPostgreSqlStore is not updated in 6.0 #16215

Closed
@metaer

Description

@metaer

This example is not actual:

$databaseConnectionOrDSN = 'postgresql://myuser:mypassword@localhost:5634/lock';
$store = new PostgreSqlStore($databaseConnectionOrDSN);

Correct way is to use DoctrineDbalPostgreSqlStore with a string like this 'postgresql://myuser:mypassword@localhost:5634/lock'

https://symfony.com/doc/current/components/lock.html#postgresqlstore
symfony/symfony#44535 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    LockhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions