public function ContainerBuilder::prependExtensionConfig in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::prependExtensionConfig()
Prepends a config array to the configs of the given extension.
Parameters
string $name The name of the extension:
array $config The config to set:
File
- vendor/
symfony/ dependency-injection/ ContainerBuilder.php, line 537
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function prependExtensionConfig($name, array $config) {
if (!isset($this->extensionConfigs[$name])) {
$this->extensionConfigs[$name] = array();
}
array_unshift($this->extensionConfigs[$name], $config);
}