Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With the removal of inheritance between ObjectCache and CallbackCache, the way cache keys are created changed for ObjectCache. Previously CallbackCache was calling code in the ObjectCache class to create a cache key based on the class name and method called. This fix restores this by detecting if there is an object saved in the PatternOptions, which is taken as an indicator we are dealing with the ObjectCache use case. As a side effect, this fix restores the ability to user-define the configuration "object_key" in case multiple variants of the same class need to be treated differently, as documented for ObjectCache pattern options. resolves laminas#355
- Loading branch information