小编Nig*_*l85的帖子

Symfony2中的getEntityManager()和getDoctrine()

这两个陈述之间有什么区别:

$this->getDoctrine()->getEntityManager()->getRepository();

$this->getDoctrine()->getRepository();
Run Code Online (Sandbox Code Playgroud)

差异是否与我错过的任何OOP概念有关?

symfony doctrine-orm

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

doctrine-orm ×1

symfony ×1