private function loadParameters(array $mergedConfig, ContainerBuilder $container): BaseExtension
    {
        /*
         * No configuration?
         * Nothing to do
         */
        if (empty($mergedConfig)) {
            return $this;
        }

        // Getting the keys or paths on which building names of parameters should stop
        $keysToStop = $this->getKeysToStopLoadingParametersOn();
        $globalKeysToStop = $this->getGlobalKeysToStopLoadingParametersOn();

        // Merging standard with global keys and paths
        $keysToStop = Arrays::makeArray($keysToStop);
        $globalKeysToStop = Arrays::makeArray($globalKeysToStop);
        $stopIfMatchedBy = array_merge($keysToStop, $globalKeysToStop);

        // Let's get the last elements' paths and load values into container
        $parameters = Arrays::getLastElementsPaths($mergedConfig, '.', '', $stopIfMatchedBy);

        /** @var ConfigurationInterface $configuration */
        $configuration = $this->getConfiguration($mergedConfig, $container);

        // Getting slug of bundle's name
        $bundleShortName = $configuration
            ->getConfigTreeBuilder()
            ->buildTree()
            ->getName()
        ;

        foreach ($parameters as $name => $value) {
            if (!\is_array($value)) {
                $value = Miscellaneous::trimSmart($value);
            }

            // Loading parameter into container, prefixed by slug of bundle's name
            $prefixedName = sprintf('%s.%s', $bundleShortName, $name);
            $container->setParameter($prefixedName, $value); // e.g. simple_bundle.foo.bar.something => 'my-value'
        }

        return $this;
    }