123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace Doctrine\Common\Cache;
- class VoidCache extends CacheProvider
- {
-
- protected function doFetch($id)
- {
- return false;
- }
-
- protected function doContains($id)
- {
- return false;
- }
-
- protected function doSave($id, $data, $lifeTime = 0)
- {
- return true;
- }
-
- protected function doDelete($id)
- {
- return true;
- }
-
- protected function doFlush()
- {
- return true;
- }
-
- protected function doGetStats()
- {
- return;
- }
- }
|