Doctrine 2 Common 2.5 - Cache类在哪里?

时间:2013-11-14 09:28:02

标签: php doctrine-orm

我在ZF1的项目中使用了Doctrine 2。因为我有相当旧版本的Doctrine,今天我想更新它。我查看了Common包:

https://github.com/doctrine/common/tree/master/lib/Doctrine/Common

但是我看到包含缓存类的整个“缓存”目录都消失了。为什么?不再是Doctrine的支持,还是我应该单独下载?

非常感谢。

1 个答案:

答案 0 :(得分:1)

从v2.4.1开始,缓存被提取到一个单独的组件中,参见 https://github.com/doctrine/common/commit/0e178880c4eb8b6131e98c7a410b7a05a0574943

你会在这里找到组件,类的命名仍然是相同的: https://github.com/doctrine/cache