too long

I want to set a value to an existing cache. I have something like this:

Cache::put('key',['foo', 'bar'], $expiresAt);

Now how can I push 'sad' value to this key without deleting last values?

Need something like this after pushing value and getting cache:

{'foo', 'bar', 'sad'}

Try the following:

Cache::put('key',['foo', 'bar'], $expiresAt);
$key = Cache::get('key');
$key[] = 'sad';
Cache::put('key', $key, $expiresAt);

Just get the existing cache update it and put it back again.