开发者

Doctrine 2: Display current settings

How to display curre开发者_如何学Gont configuration in Doctrine 2. I found the answer for Doctrine 1 here: Find current Doctrine database connection settings in symfony, but nothing for Doctrine 2.


You have all you need in Doctrine\DBAL\Connection instance:

var_dump($entityManager->getConnection());
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜