Closed vlajos closed 8 years ago
Sorry... Although the private is a bit confusing. ("internal" maybe?) (On the other hand, I guess you have higher priority tasks... :-)
It's actually even in real-world scenario a public method, which can be quite handy to flush the cache programmatically. But thanks for the suggestion! :+1:
Thanks for the PR, however "private" is correct here. While the method is a public method, it is only be meant to be used internally to retrieve a raw cache value without checking the expiration value.
@bastianallgeier Maybe we should make the method
protected
in the first place. What do you think?