zendframework/zf2 — pull request #1915 by marc-mabe (2012-07-17 23:16:35+00:00)
Title: CaptureCache fixes

fixes also #1854

* better handling of file/directory permissions using umask and/or chmod
* removed tagging support because of clearing by glob
* no need to create a closure to lower case all elements of an array
* removed unused $options argument
* fixed ErrorHandler usage
* some method normalizations:
* protected save($output) -> public set($content, $pageId = null)
* exists($pageId) -> has($pageId = null)
* replaced protected method flush with an closure
* no longer return false on method start
* return boolean on method remove
* validate public_dir + implemented clearByGlob
* fixed and tested pageId detection and output filename generation