public function KernelForTest::initializeBundles

Initializes the data structures related to the bundle management.

  • the bundles property maps a bundle name to the bundle instance,
  • the bundleMap property maps a bundle name to the bundle inheritance hierarchy (most derived bundle first).

Throws

\LogicException if two bundles share a common name

\LogicException if a bundle tries to extend a non-registered bundle

\LogicException if a bundle tries to extend itself

\LogicException if two bundles extend the same ancestor

Overrides Kernel::initializeBundles

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Fixtures/KernelForTest.php, line 40

Class

KernelForTest

Namespace

Symfony\Component\HttpKernel\Tests\Fixtures

Code

public function initializeBundles() {
  parent::initializeBundles();
}