codeigniterdoctrinedoctrine-ormdoctrine-1.2

How do I find out which version of Doctrine I am running?


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.

Any ideas?


Solution

  • Check out the file vendor/doctrine/orm/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.