X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=4f950bd78eeea17db42c73b61cb35b14a7984490;hb=94439a3b429dd9312dcb3aa8ee8f20df7ff6281c;hp=b40222237b9c6e9498f4592e7b56cfb344f3b1f6;hpb=57cf384fae928d88a019abfcb2b72768d2a6d205;p=friendica.git diff --git a/src/DI.php b/src/DI.php index b40222237b..4f950bd78e 100644 --- a/src/DI.php +++ b/src/DI.php @@ -98,14 +98,6 @@ abstract class DI return self::$dice->create(App\Mode::class); } - /** - * @return App\ModuleController - */ - public static function module() - { - return self::$dice->create(App\ModuleController::class); - } - /** * @return App\Page */ @@ -406,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);