diff options
Diffstat (limited to 'application/container/ContainerBuilder.php')
-rw-r--r-- | application/container/ContainerBuilder.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/container/ContainerBuilder.php b/application/container/ContainerBuilder.php index ff29825c..e2c78ccc 100644 --- a/application/container/ContainerBuilder.php +++ b/application/container/ContainerBuilder.php | |||
@@ -72,6 +72,10 @@ class ContainerBuilder | |||
72 | ); | 72 | ); |
73 | }; | 73 | }; |
74 | 74 | ||
75 | $container['pluginManager'] = function (ShaarliContainer $container): PluginManager { | ||
76 | return new PluginManager($container->conf); | ||
77 | }; | ||
78 | |||
75 | return $container; | 79 | return $container; |
76 | } | 80 | } |
77 | } | 81 | } |