loadInternal example


abstract class ConfigurableExtension extends Extension
{
    final public function load(array $configs, ContainerBuilder $container): void
    {
        $this->loadInternal($this->processConfiguration($this->getConfiguration($configs$container)$configs)$container);
    }

    /** * Configures the passed container according to the merged configuration. * * @return void */
    abstract protected function loadInternal(array $mergedConfig, ContainerBuilder $container);
}

abstract class ConfigurableExtension extends Extension
{
    final public function load(array $configs, ContainerBuilder $container): void
    {
        $this->loadInternal($this->processConfiguration($this->getConfiguration($configs$container)$configs)$container);
    }

    /** * Configures the passed container according to the merged configuration. * * @return void */
    abstract protected function loadInternal(array $mergedConfig, ContainerBuilder $container);
}
Home | Imprint | This part of the site doesn't use cookies.