mirror of
https://github.com/friendica/friendica
synced 2024-12-22 13:20:15 +00:00
Add Dice rule for AppHelper
This commit is contained in:
parent
34845910ec
commit
0e23f35438
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
use Dice\Dice;
|
use Dice\Dice;
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
|
use Friendica\AppHelper;
|
||||||
|
use Friendica\AppLegacy;
|
||||||
use Friendica\Core\Cache;
|
use Friendica\Core\Cache;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\Hooks\Capability\ICanCreateInstances;
|
use Friendica\Core\Hooks\Capability\ICanCreateInstances;
|
||||||
|
@ -93,6 +95,9 @@ return [
|
||||||
[Dice::INSTANCE => Dice::SELF],
|
[Dice::INSTANCE => Dice::SELF],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
AppHelper::class => [
|
||||||
|
'instanceOf' => AppLegacy::class,
|
||||||
|
],
|
||||||
ICanCreateInstances::class => [
|
ICanCreateInstances::class => [
|
||||||
'instanceOf' => DiceInstanceManager::class,
|
'instanceOf' => DiceInstanceManager::class,
|
||||||
'constructParams' => [
|
'constructParams' => [
|
||||||
|
|
Loading…
Reference in a new issue