X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=835f1ffed72619e8412a5a32be08c94527c56475;hb=8e2cc678dc38b3e3447baf587668f2c97b0f5478;hp=43234946cb3a8881cb1c53a61ac2315207abb853;hpb=7ce97459d437a98ece0077b28bb36771aa36ed82;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 43234946cb..835f1ffed7 100644 --- a/src/DI.php +++ b/src/DI.php @@ -487,6 +487,11 @@ abstract class DI return self::$dice->create(Contact\Introduction\Factory\Introduction::class); } + public static function localRelationship(): Contact\LocalRelationship\Repository\LocalRelationship + { + return self::$dice->create(Contact\LocalRelationship\Repository\LocalRelationship::class); + } + public static function permissionSet(): Security\PermissionSet\Repository\PermissionSet { return self::$dice->create(Security\PermissionSet\Repository\PermissionSet::class); @@ -532,6 +537,11 @@ abstract class DI return self::$dice->create(Navigation\Notifications\Factory\FormattedNotify::class); } + public static function formattedNavNotificationFactory(): Navigation\Notifications\Factory\FormattedNavNotification + { + return self::$dice->create(Navigation\Notifications\Factory\FormattedNavNotification::class); + } + // // "Protocol" namespace instances //