Skip to content

Use of wrapped PDO connection #48

Open
@tomsykes

Description

@tomsykes

This isn't so much as bug/issue as it is a discussion...

I'm trying to figure out why this project is using a wrapped Doctrine connection

- !service { class: PDO, factory: 'database_connection:getWrappedConnection' }

instead of allowing the PdoSessionHandler to create its own connection as suggested by the symfony docs
https://symfony.com/doc/4.4/session/database.html#store-sessions-in-a-relational-database-mariadb-mysql-postgresql

Can anyone shed light on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions