Store.php
public function get()
    {
        if ($this->loaded) {
            return $this->data;
        }

        $data = $this->storage->get();

        if (null === $data) {
            $data = ($this->defaultFactory)();
        } else {
            $data = $this->normalizer->denormalize($data, $this->class);
        }

        if (null !== $data && !$data instanceof $this->class) {
            throw UnexpectedValueException::createForValue($data, 'null or '.$this->class);
        }

        $this->loaded = true;

        return $this->data = $data;
    }
public function get()
    {
        if ($this->loaded) {
            return $this->data;
        }

        $data = $this->storage->get();

        if (null === $data) {
            $data = ($this->defaultFactory)();
        } else {
            $data = $this->normalizer->denormalize($data, $this->class);
        }

        if (null !== $data && !$data instanceof $this->class) {
            throw UnexpectedValueException::createForValue($data, 'null or '.$this->class);
        }

        $this->loaded = true;

        return $this->data = $data;
    }
{@inheritdoc}