X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=ed67efe0034ceadaf0ac9c63fb5275899746ae9d;hb=6d19ecfde071484737fdb21bc394a2df14e5fc24;hp=7f6f28f33cb45257772361a6524a27ceb76e678d;hpb=cf0b7b709b1a9a5d64b261817fd02b9812d7fd04;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 7f6f28f33c..ed67efe003 100644 --- a/src/DI.php +++ b/src/DI.php @@ -134,6 +134,14 @@ abstract class DI return self::$dice->create(Content\Item::class); } + /** + * @return Content\Conversation + */ + public static function conversation() + { + return self::$dice->create(Content\Conversation::class); + } + /** * @return Content\Text\BBCode\Video */ @@ -420,7 +428,7 @@ abstract class DI /** * @return Network\IHTTPClient */ - public static function httpRequest() + public static function httpClient() { return self::$dice->create(Network\IHTTPClient::class); }