src/Server/Capabilities/CacheCapabilities.php
public function names(): SetInterface
    {
        if ($this->names instanceof SetInterface) {
            return $this->names;
        }

        try {
            $file = $this->load('.names');
            return $this->names = ($this->denormalizeNames)(
                ($this->decode)('json', $file->content())
            );
        } catch (FileNotFound $e) {
            $this->names = $this->capabilities->names();
            $this->persist('.names', $this->names->toPrimitive());

            return $this->names;
        }
    }
public function names(): SetInterface
    {
        if ($this->names instanceof SetInterface) {
            return $this->names;
        }

        try {
            $file = $this->load('.names');
            return $this->names = ($this->denormalizeNames)(
                ($this->decode)('json', $file->content())
            );
        } catch (FileNotFound $e) {
            $this->names = $this->capabilities->names();
            $this->persist('.names', $this->names->toPrimitive());

            return $this->names;
        }
    }
{@inheritdoc}