rename App::setupLegacyServiceLocator()

This commit is contained in:
Art4 2024-12-26 16:59:15 +00:00
parent e59dd9d9d4
commit 2ed1b969fb

View file

@ -131,7 +131,7 @@ class App
], ],
]); ]);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -174,7 +174,7 @@ class App
'constructParams' => [LogChannel::AUTH_JABBERED], 'constructParams' => [LogChannel::AUTH_JABBERED],
]); ]);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -198,7 +198,7 @@ class App
$this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies')); $this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies'));
} }
private function setupLegacyServerLocator(): void private function setupLegacyServiceLocator(): void
{ {
\Friendica\DI::init($this->container); \Friendica\DI::init($this->container);
} }