diff options
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index a32d32fefc5..eeab9b96e59 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -225,6 +225,7 @@ class DIContainer extends SimpleContainer implements IAppContainer { $this->registerService('ServerContainer', function ($c) { return $this->getServer(); }); + $this->registerAlias('OCP\\IServerContainer', 'ServerContainer'); $this->registerService('Symfony\Component\EventDispatcher\EventDispatcherInterface', function ($c) { return $this->getServer()->getEventDispatcher(); |