We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 904b752 commit 3d4e6b3Copy full SHA for 3d4e6b3
app/code/Magento/RemoteStorage/Driver/Adapter/Cache/Generic.php
@@ -217,11 +217,21 @@ public function flushCache(): void
217
*
218
* @param string $json
219
*/
220
- public function setFromStorage(string $json)
+ private function setFromStorage(string $json)
221
{
222
$this->cacheData = array_merge($this->cacheData, $this->serializer->unserialize($json));
223
}
224
225
+ /**
226
+ * Setter for cache data
227
+ *
228
+ * @param array $cacheData
229
+ */
230
+ public function setCacheData(array $cacheData): void
231
+ {
232
+ $this->cacheData = $cacheData;
233
+ }
234
+
235
/**
236
* Ensure parent directories of an object.
237
0 commit comments