robertmain / UniformCache

Cache abstraction layer for PHP
GNU General Public License v3.0
10 stars 0 forks source link

Result object #8

Closed robertmain closed 6 years ago

robertmain commented 10 years ago

Caching class should return a result object not the actual value itself. This would allow for things like a hash of the object and other metadata

robertmain commented 6 years ago

Cached objects are returned from the cache encapsulated in implementations of CacheItemInterface, therefore a custom result object is not needed or useful at this time.