ZF-11824: Zend_Cache_Backend_File test() doesn't allow pass of $doNotTestCacheValidity
Description
The public method for test() doesn't allow you to set whether to test against the time as the protected method _test() does.
Suggested fix:
public function test($id, $doNotTestCacheValidity = false)
{
clearstatcache();
return $this->_test($id, $doNotTestCacheValidity);
}
Comments
Posted by Ashley White (thinkle) on 2011-10-14T13:03:58.000+0000
Added formatting to code
Posted by Marc Bennewitz (private) (mabe) on 2012-01-08T16:03:36.000+0000
The public method "test" only has one argument defined by Zend_Cache_Backend_Interface and can't be changed.