我刚刚完成了symfony的教程。除了我尝试在生产环境上运行项目之外,一切都很好。在博客页面上,下面的错误消息出现在页面的顶部和注释部分的顶部:Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in F:\xampp\htdocs\php\symblog\vendor\doctrine\doctrine-bundle\Doctrine\Bundle\DoctrineBundle\Registry.php on line 71,我想知道为什么我在其他项目中使用了相同的版本(sy