]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Changes:
[friendica.git] / src / DI.php
index 22dec89dbac3524bd2ab671e3ee39a58ec067aeb..a984bc934f6200fc50b373bd131ea0084a12b3f1 100644 (file)
@@ -1,6 +1,6 @@
 <?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
  *
@@ -571,6 +571,11 @@ abstract class DI
                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
         */