Symfony\Component\HttpKernel\Kernel::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).
Signature
protected function initializeBundles()
Errors/Exceptions
-
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