]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Merge pull request #8250 from annando/issue-8233
[friendica.git] / src / DI.php
index 65c82225d54c1f3757283e6781094701cd1b2724..430db847700642f640a1d3ea8d8de3cf0ec275bc 100644 (file)
@@ -236,6 +236,14 @@ abstract class DI
                return self::$dice->create(Factory\Api\Mastodon\Emoji::class);
        }
 
+       /**
+        * @return Factory\Api\Mastodon\Field
+        */
+       public static function mstdnField()
+       {
+               return self::$dice->create(Factory\Api\Mastodon\Field::class);
+       }
+
        /**
         * @return Factory\Api\Mastodon\FollowRequest
         */
@@ -292,6 +300,14 @@ abstract class DI
        // "Repository" namespace
        //
 
+       /**
+        * @return Repository\FSuggest;
+        */
+       public static function fsuggest()
+       {
+               return self::$dice->create(Repository\FSuggest::class);
+       }
+
        /**
         * @return Repository\Introduction
         */