protected function DrupalKernel::getContainerBuilder

master DrupalKernel.php protected DrupalKernel::getContainerBuilder()

@inheritdoc

File

lib/Drush/Drupal/DrupalKernel.php, line 38

Namespace

Drush\Drupal

Class

DrupalKernel

Code

protected function getContainerBuilder() {
  drush_log(dt("get container builder"), LogLevel::DEBUG);
  $container = parent::getContainerBuilder();
  foreach ($this->serviceModifiers as $serviceModifier) {
    $serviceModifier->alter($container);
  }
  return $container;
}