src/Viserio/Component/Foundation/Bootstrap/ExtendLoadConfiguration.php
public static function bootstrap(KernelContract $kernel): void
    {
        $container = $kernel->getContainer();

        $config  = $container->get(RepositoryContract::class);
        $rootDir = \rtrim($kernel->getRootDir(), \DIRECTORY_SEPARATOR);

        $config->addParameterProcessor(new ComposerExtraProcessor($rootDir . \DIRECTORY_SEPARATOR . 'composer.json'));
        $config->addParameterProcessor(new DirectoryProcessor($config, $container));
    }
public static function bootstrap(KernelContract $kernel): void
    {
        $container = $kernel->getContainer();

        $config  = $container->get(RepositoryContract::class);
        $rootDir = \rtrim($kernel->getRootDir(), \DIRECTORY_SEPARATOR);

        $config->addParameterProcessor(new ComposerExtraProcessor($rootDir . \DIRECTORY_SEPARATOR . 'composer.json'));
        $config->addParameterProcessor(new DirectoryProcessor($config, $container));
    }
{@inheritdoc}