]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Support for stacked profiler analysis
[friendica.git] / src / DI.php
index 37091a5ab82d5d439f525279975ef054fa508860..d8e51b439822fcd9ca242ba59085e6f8318c02f8 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
         */
@@ -271,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
         */
@@ -311,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
         */
@@ -327,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
         */