]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Merge pull request #10372 from annando/forum-handling
[friendica.git] / src / DI.php
index 37091a5ab82d5d439f525279975ef054fa508860..944fad805d18d8413d6e9a9e12837c646dbc456a 100644 (file)
@@ -255,6 +255,22 @@ abstract class DI
                return self::$dice->create(Factory\Api\Mastodon\Attachment::class);
        }
 
+       /**
+        * @return Factory\Api\Mastodon\Card
+        */
+       public static function mstdnCard()
+       {
+               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
         */