mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02: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…
Add table
Add a link
Reference in a new issue