You are here

public function ContainerBuilder::getExtensionConfig in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getExtensionConfig()

Returns the configuration array for the given extension.

Parameters

string $name The name of the extension:

Return value

array An array of configuration

File

vendor/symfony/dependency-injection/ContainerBuilder.php, line 522

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function getExtensionConfig($name) {
  if (!isset($this->extensionConfigs[$name])) {
    $this->extensionConfigs[$name] = array();
  }
  return $this->extensionConfigs[$name];
}