kopia lustrzana https://github.com/friendica/friendica
Add Dice rule for AppHelper
rodzic
34845910ec
commit
0e23f35438
|
@ -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' => [
|
||||
|
|
Ładowanie…
Reference in New Issue