]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Issue 9229: Show unfollow with known contacts
[friendica.git] / src / DI.php
index 9ed0c5b24d353f5ed5c1c124c31eae1ebce86cd5..cb6166692f8ed59e82065bf8f6eb1c58dd4bb154 100644 (file)
@@ -279,6 +279,14 @@ abstract class DI
                return self::$dice->create(Factory\Api\Mastodon\Relationship::class);
        }
 
+       /**
+        * @return Factory\Api\Mastodon\Status
+        */
+       public static function mstdnStatus()
+       {
+               return self::$dice->create(Factory\Api\Mastodon\Status::class);
+       }
+
        /**
         * @return Factory\Api\Twitter\User
         */
@@ -323,6 +331,18 @@ abstract class DI
                return self::$dice->create(Model\Storage\IStorage::class);
        }
 
+       //
+       // "Network" namespace
+       //
+
+       /**
+        * @return Network\IHTTPRequest
+        */
+       public static function httpRequest()
+       {
+               return self::$dice->create(Network\IHTTPRequest::class);
+       }
+
        //
        // "Repository" namespace
        //