Factory/StoreFactory.php
public function create(string $type, array $options = []): StoreInterface
    {
        $resolvedType = $this->typeResolver->resolve($type);
        $options = $resolvedType->getOptionsResolver()->resolve($options);
        $builder = new StoreBuilder();
        $resolvedType->configureStore($builder, $options);

        return $builder->build();
    }
public function create(string $type, array $options = []): StoreInterface
    {
        $resolvedType = $this->typeResolver->resolve($type);
        $options = $resolvedType->getOptionsResolver()->resolve($options);
        $builder = new StoreBuilder();
        $resolvedType->configureStore($builder, $options);

        return $builder->build();
    }
{@inheritdoc}