Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of wrapped PDO connection #48

Open
tomsykes opened this issue May 5, 2021 · 0 comments
Open

Use of wrapped PDO connection #48

tomsykes opened this issue May 5, 2021 · 0 comments

Comments

@tomsykes
Copy link

tomsykes commented May 5, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant