X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=4f950bd78eeea17db42c73b61cb35b14a7984490;hb=94439a3b429dd9312dcb3aa8ee8f20df7ff6281c;hp=190b46a05f4c66344de1fdf04464fd4bf6c9f4bb;hpb=5aad46c7fb2b66d63ad93d92ee355fc522b57be1;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 190b46a05f..4f950bd78e 100644 --- a/src/DI.php +++ b/src/DI.php @@ -398,6 +398,14 @@ abstract class DI return self::$dice->create(Factory\Api\Twitter\User::class); } + /** + * @return Factory\Api\Twitter\DirectMessage + */ + public static function twitterDirectMessage() + { + return self::$dice->create(Factory\Api\Twitter\DirectMessage::class); + } + public static function notificationIntro(): Navigation\Notifications\Factory\Introduction { return self::$dice->create(Navigation\Notifications\Factory\Introduction::class);