Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Replace Connection with DBAL #223

Closed
mvorisek opened this issue Jul 4, 2020 · 0 comments · Fixed by #262
Closed

Replace Connection with DBAL #223

mvorisek opened this issue Jul 4, 2020 · 0 comments · Fixed by #262

Comments

@mvorisek
Copy link
Member

mvorisek commented Jul 4, 2020

I would highly prefer to drop all Connection classes in advance to DBAL. This will not solve only the registry, but it would allow to share that connection with Doctrine ORM much easier later.

How Doctrine setup connection?
doc - https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/tutorials/getting-started.html#obtaining-the-entitymanager
which refer to https://github.com/doctrine/orm/blob/1ab9d0b1942a6b70d01640d51056a71916255ecf/lib/Doctrine/ORM/EntityManager.php#L825
which calls https://github.com/doctrine/orm/blob/2a98a98cd36e5eb54ad5ff8ca26fc3a30d5a82ff/lib/Doctrine/ORM/EntityManager.php#L842
which calls a few lines later https://github.com/doctrine/orm/blob/2a98a98cd36e5eb54ad5ff8ca26fc3a30d5a82ff/lib/Doctrine/ORM/EntityManager.php#L845
DriverManager is part of DBAL.

@mvorisek mvorisek changed the title Replace connecton with DBAL Replace Connecton with DBAL Sep 19, 2020
@mvorisek mvorisek changed the title Replace Connecton with DBAL Replace Connection with DBAL Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant