function DrupalKernelInterface::rebuildContainer

Same name in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::rebuildContainer()
  2. 8.9.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::rebuildContainer()
  3. 11.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::rebuildContainer()

Force a container rebuild.

Return value

\Symfony\Component\DependencyInjection\ContainerInterface

1 method overrides DrupalKernelInterface::rebuildContainer()
DrupalKernel::rebuildContainer in core/lib/Drupal/Core/DrupalKernel.php
Force a container rebuild.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 123

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function rebuildContainer();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.