<?php
/**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
return self::$dice->create(Contact\FriendSuggest\Factory\FriendSuggest::class);
}
+ /**
+ * @return Content\Conversation\Factory\Timeline
+ */
+ public static function TimelineFactory()
+ {
+ return self::$dice->create(Content\Conversation\Factory\Timeline::class);
+ }
+
+ /**
+ * @return Content\Conversation\Factory\Community
+ */
+ public static function CommunityFactory()
+ {
+ return self::$dice->create(Content\Conversation\Factory\Community::class);
+ }
+
+ /**
+ * @return Content\Conversation\Factory\Channel
+ */
+ public static function ChannelFactory()
+ {
+ return self::$dice->create(Content\Conversation\Factory\Channel::class);
+ }
+
+ public static function userDefinedChannel(): Content\Conversation\Repository\UserDefinedChannel
+ {
+ return self::$dice->create(Content\Conversation\Repository\UserDefinedChannel::class);
+ }
+
+ /**
+ * @return Content\Conversation\Factory\Network
+ */
+ public static function NetworkFactory()
+ {
+ return self::$dice->create(Content\Conversation\Factory\Network::class);
+ }
+
/**
* @return Contact\Introduction\Repository\Introduction
*/
{
return self::$dice->create(Util\Emailer::class);
}
+
+ public static function postMediaRepository(): Content\Post\Repository\PostMedia
+ {
+ return self::$dice->create(Content\Post\Repository\PostMedia::class);
+ }
}