Add Dice rule for AppHelper

This commit is contained in:
Art4 2024-11-17 20:11:43 +00:00
parent 34845910ec
commit 0e23f35438

View file

@ -23,6 +23,8 @@
use Dice\Dice;
use Friendica\App;
use Friendica\AppHelper;
use Friendica\AppLegacy;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\Hooks\Capability\ICanCreateInstances;
@ -93,6 +95,9 @@ return [
[Dice::INSTANCE => Dice::SELF],
],
],
AppHelper::class => [
'instanceOf' => AppLegacy::class,
],
ICanCreateInstances::class => [
'instanceOf' => DiceInstanceManager::class,
'constructParams' => [