/** * {@inheritdoc} */ public function get($id) { $cachedData = $this->storageCache->get($id); if (null !== $cachedData) { return $cachedData; } $sourceData = $this->sourceStorage->get($id); $this->storageCache->set($id, $sourceData); return $sourceData; }
/** * {@inheritdoc} */ public function get($id) { $data = $this->storage->get($id); return $this->reverseTransform($data); }