X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=d8e51b439822fcd9ca242ba59085e6f8318c02f8;hb=e0fdde32878216e1c291386e7d3931ac0de5c807;hp=9e77943bda8403f707f4bb2216a321a78053af3b;hpb=e9fe92a5d7c296eb3448e86a6b0f1dda63b1b6c7;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 9e77943bda..d8e51b4398 100644 --- a/src/DI.php +++ b/src/DI.php @@ -263,6 +263,14 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Card::class); } + /** + * @return Factory\Api\Mastodon\Conversation + */ + public static function mstdnConversation() + { + return self::$dice->create(Factory\Api\Mastodon\Conversation::class); + } + /** * @return Factory\Api\Mastodon\Emoji */ @@ -279,14 +287,6 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Error::class); } - /** - * @return Factory\Api\Mastodon\Field - */ - public static function mstdnField() - { - return self::$dice->create(Factory\Api\Mastodon\Field::class); - } - /** * @return Factory\Api\Mastodon\FollowRequest */ @@ -319,14 +319,6 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\ListEntity::class); } - /** - * @return Factory\Api\Mastodon\Mention - */ - public static function mstdnMention() - { - return self::$dice->create(Factory\Api\Mastodon\Mention::class); - } - /** * @return Factory\Api\Mastodon\Notification */ @@ -335,14 +327,6 @@ abstract class DI return self::$dice->create(Factory\Api\Mastodon\Notification::class); } - /** - * @return Factory\Api\Mastodon\Tag - */ - public static function mstdnTag() - { - return self::$dice->create(Factory\Api\Mastodon\Tag::class); - } - /** * @return Factory\Api\Twitter\User */