function DrupalKernelInterface::rebuildContainer

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

Force a container rebuild.

Return value

\Symfony\Component\DependencyInjection\ContainerInterface

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.