(string) $entityId, 'version' => $existing ? ($existing['version'] + 1) : 1, 'updated_at' => str_replace('+00:00', 'Z', now()->format(DATE_RFC3339_EXTENDED)) ]; Cache::put($key, $val, 2592000); return $val; } }