X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=e34df7b669382deebb3804f8228da7ecc8b42af9;hb=3aeeac5d987b9636b82f00013bbb644d3e4df9ab;hp=1283100313bd42819e9af035a5dd080791a7c813;hpb=1138abe9237b9db1cf8a0ac7925de9bb55923cdb;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 1283100313..e34df7b669 100644 --- a/src/DI.php +++ b/src/DI.php @@ -326,6 +326,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\FollowRequest::class); } + /** + * @return Factory\Api\Mastodon\Poll + */ + public static function mstdnPoll() + { + return self::$dice->create(Factory\Api\Mastodon\Poll::class); + } + /** * @return Factory\Api\Mastodon\Relationship */ @@ -537,6 +545,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 //