Brandi allows you to build hierarchical DI systems.
In a hierarchical DI system, a container can have a parent container and multiple containers can be used in one application. The containers form a hierarchical structure.
When you get a dependency from a container, the container tries to satisfy that dependency with it's own bindings. If the container lacks bindings, it passes the request up to its parent container. If that container can't satisfy the request, it passes it along to its parent container. The requests keep bubbling up until we find an container that can handle the request or run out of container ancestors.