zendframework/zf2 — pull request #1854 by AlloVince (2012-07-12 05:40:06+00:00)
Title: fixed CaptureCache issue

refer to https://github.com/zendframework/zf2/pull/1838

Zend/Cache/Pattern/CaptureCache flush method should be public, see my test demo:

https://github.com/AlloVince/eva-engine/blob/master/public/zf2libs/capturecache.php

This demo show warning because of flush not able to access
Warning: Invalid callback Zend\Cache\Pattern\CaptureCache::flush, cannot access protected method Zend\Cache\Pattern\CaptureCache::flush() in Unknown on line 0

Also because of oldUmask not defined, demo will show a notice:
Notice: Undefined variable: oldUmask in D:\xampp\htdocs\zf2\vendor\zf2\library\Zend\Cache\Pattern\CaptureCache.php on line 228