src/Viserio/Component/Config/Provider/ConfigServiceProvider.php
public static function createRepository(ContainerInterface $container): RepositoryContract
    {
        $config = new Repository();

        if ($container->has(LoaderContract::class)) {
            $config->setLoader($container->get(LoaderContract::class));
        }

        $config->addParameterProcessor(new EnvParameterProcessor());

        return $config;
    }
public static function createRepository(ContainerInterface $container): RepositoryContract
    {
        $config = new Repository();

        if ($container->has(LoaderContract::class)) {
            $config->setLoader($container->get(LoaderContract::class));
        }

        $config->addParameterProcessor(new EnvParameterProcessor());

        return $config;
    }
Create a new Repository instance.

@param \Psr\Container\ContainerInterface $container

@return \Viserio\Component\Contract\Config\Repository