padam87/doctrine-cache-invalidator-bundle
最新稳定版本:v1.0.3
Composer 安装命令:
composer require padam87/doctrine-cache-invalidator-bundle
包简介
A simplistic way to invalidate Doctrine result cache.
README 文档
README
A simplistic way to invalidate Doctrine result cache
Please take a look at the official Doctrine invalidation before using this bundle: http://doctrine-orm.readthedocs.org/en/latest/reference/second-level-cache.html
If you need a complete second level cache, this is not the bundle you are looking for. However if you would like to cache some custom query results, you might find this helpful.
Usage
At the moment only annotation configuration is supported.
use Padam87\DoctrineCacheInvalidatorBundle\Annotation\InvalidateCache; /** * @ORM\Entity() * @InvalidateCache("my_cache_key", events = {"PERSIST", "DELETE"}) */ class Entity { // ... }
统计信息
- 总下载量: 465
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-15