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

前端 未结 6 1141
北荒
北荒 2021-02-05 05:58

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?

6条回答
  •  鱼传尺愫
    2021-02-05 06:17

    For Windows users:

    Within your symfony2 project:

    \vendor\doctrine\orm\lib\Doctrine\ORM\Version.php
    

    look for something like:

    /**
     * Current Doctrine Version
     */
    const VERSION = '2.4.6';
    

提交回复
热议问题