TypeResolver/ResolvedStoreType.php
public function getOptionsResolver(): OptionsResolver
    {
        if (null !== $this->optionsResolver) {
            return $this->optionsResolver;
        }

        $resolver = new OptionsResolver();

        foreach ($this->requiredTypes as $requiredType) {
            $requiredType->configureOptions($resolver);
        }

        $this->type->configureOptions($resolver);

        return $this->optionsResolver = $resolver;
    }
public function getOptionsResolver(): OptionsResolver
    {
        if (null !== $this->optionsResolver) {
            return $this->optionsResolver;
        }

        $resolver = new OptionsResolver();

        foreach ($this->requiredTypes as $requiredType) {
            $requiredType->configureOptions($resolver);
        }

        $this->type->configureOptions($resolver);

        return $this->optionsResolver = $resolver;
    }
{@inheritdoc}