X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=708fb7d836da3fe54a7c72bc40d81c4ce1a19a3b;hb=e9df177055876cc93cec246d913d66bd5754fd10;hp=ead125cff26138f1ef46458ba319f9c72808a38a;hpb=d5703e350c6205e6ef2ef0c0e12347201909d35d;p=friendica.git diff --git a/src/DI.php b/src/DI.php index ead125cff2..708fb7d836 100644 --- a/src/DI.php +++ b/src/DI.php @@ -1,6 +1,6 @@ create(App\Mode::class); } - /** - * @return App\Module - */ - public static function module() - { - return self::$dice->create(App\Module::class); - } - /** * @return App\Page */ @@ -382,6 +374,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Notification::class); } + /** + * @return Factory\Api\Twitter\Status + */ + public static function twitterStatus() + { + return self::$dice->create(Factory\Api\Twitter\Status::class); + } + /** * @return Factory\Api\Twitter\User */