/** * {@inheritdoc} */ public function get() { // value was already set on this object, return that one! if ($this->value !== null) { return $this->value; } // sanity check if (!$this->isHit()) { return; } return $this->repository->get($this->hash); }