Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple bundle instances to be added to the kernel
This commit applies two things: - The name of the bundle is dynamically changed, because Symfony's kernel doesn't allow multiple bundles with the same name - When the kernel is shutdown, the bundles must be shutdown as well, meaning the static identifier must be reset. One of the known effects before this change was seen when clearing caches: the kernel could be booted several times during the same runtime, meaning that the static identifier would change for identical bundle instances and therefore lead to confusion for the compiled container, which would not be able to fetch the correct instance.
- Loading branch information