如何找出我正在运行的 Doctrine 版本? [英] How do I find out which version of Doctrine I am running?

查看:26
本文介绍了如何找出我正在运行的 Doctrine 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 CodeIgniter 已经有一段时间了,我不记得我是安装了 v2 还是只是从另一个项目中复制了文件.

Have been using it for a while with CodeIgniter and I can't remember if I installed v2 or just copied the files from another project.

有什么想法吗?

推荐答案

查看文件 lib/Doctrine/ORM/Version.php,里面有一个常量显示版本.它也可以从正在运行的应用程序中访问,但这更容易.

Check out the file lib/Doctrine/ORM/Version.php, there is a constant in there that shows the version. It's also accessible from a running app but this is easier.

这篇关于如何找出我正在运行的 Doctrine 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆