function KernelTestDrupalKernel::setContainerNeedsRebuild

Sets whether the container should be rebuilt.

File

core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php, line 35

Class

KernelTestDrupalKernel
Subclass of DrupalKernel for kernel testing.

Namespace

Drupal\Core\Test

Code

public function setContainerNeedsRebuild(bool $rebuild) : void {
  $this->containerNeedsRebuild = $rebuild;
}

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