You are here

public function ExtensionInterface::load in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php \Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()

Loads a specific configuration.

@api

Parameters

array $config An array of configuration values:

ContainerBuilder $container A ContainerBuilder instance:

Throws

\InvalidArgumentException When provided tag is not defined in this extension

1 method overrides ExtensionInterface::load()
ProjectExtension::load in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php
Loads a specific configuration.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.php, line 35

Class

ExtensionInterface
ExtensionInterface is the interface implemented by container extension classes.

Namespace

Symfony\Component\DependencyInjection\Extension

Code

public function load(array $config, ContainerBuilder $container);