Isn't that the same functionality as "Retrive and Update" on https://laravel.com/docs/5.2/cache ?
Thanks for your reply.
I couldn't see anything in that document which allows the existing value to be passed to the closure. Are you able to point me directly to it please.
To be honest my question isn't 100% about cache but being able to extend it to add my own chaching functions.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us