Issues

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

Added formatting to code

The public method "test" only has one argument defined by Zend_Cache_Backend_Interface and can't be changed.