zendframework/zf2 — pull request #1841 by AlloVince (2012-07-11 10:11:39+00:00)
Title: hot fix for Zend/Cache/Pattern/CaptureCache flush method

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