X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=708fb7d836da3fe54a7c72bc40d81c4ce1a19a3b;hb=3a96a971890d822bc43519c83c1fa7d27592bfce;hp=0c134f37b48cbf38c4b96cfc117469f6dc11707e;hpb=b67c10812ab962d1ec05cd8c9e256c503d64ca60;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 0c134f37b4..708fb7d836 100644 --- a/src/DI.php +++ b/src/DI.php @@ -1,6 +1,6 @@ create(App\Mode::class); } - /** - * @return App\ModuleController - */ - public static function module() - { - return self::$dice->create(App\ModuleController::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 */