]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Unused code fragment removed
[friendica.git] / src / DI.php
index 9ed0c5b24d353f5ed5c1c124c31eae1ebce86cd5..4db53f271b8ddba00b9d057acb06a56cd8de3e30 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
         */
@@ -306,6 +314,13 @@ abstract class DI
        //
        // "Model" namespace instances
        //
+       /**
+        * @return Model\Process
+        */
+       public static function modelProcess()
+       {
+               return self::$dice->create(Model\Process::class);
+       }
 
        /**
         * @return Model\User\Cookie
@@ -323,6 +338,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
        //