symfony-vuejs
symfony-vuejs copied to clipboard
Use of wrapped PDO connection
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 https://github.com/thecodingmachine/symfony-vuejs/blob/61f2e9f2cddab229c1e6994e2e8a8e01631ba33f/sources/app/config/services.yaml#L40
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?