/** * @param ValueInterface $value * @return mixed|null */ public function get(ValueInterface $value) { $data = $this->storageStrategy->getRaw($value->getKey()); if (null === $data) { $data = $value->getValue(); $this->storageStrategy->setRaw($value->getKey(), $data, $value->getExpiration()); } return $data; }