Skip to content
Snippets Groups Projects
Verified Commit 1e4a3581 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: load extension bindings

parent 261a1101
No related branches found
No related tags found
No related merge requests found
...@@ -109,9 +109,7 @@ final class Kernel { ...@@ -109,9 +109,7 @@ final class Kernel {
private function prepare_driver( ContainerInterface $container ): HookDriver { private function prepare_driver( ContainerInterface $container ): HookDriver {
$loader = new CompositeBindingLoader(); $loader = new CompositeBindingLoader();
foreach ( $this->extensions as $extension ) { foreach ( $this->extensions as $extension ) {
foreach ($extension->bindings($container) as $bindings) { $loader->add( $extension->bindings( $container ) );
$loader->add($bindings);
}
} }
$driver = new GenericDriver( $driver = new GenericDriver(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment