User Repository\UserDefinedChannel->selectByUid instead of Factory\UserDefinedChannel->getForUser

- Rename Repository\Channel to Repository\UserDefinedChannel
- Add new Collection\UserDefinedChannels class
- Move Factory\Timeline->createFromTableRow to Factory\UserDefinedChannel
This commit is contained in:
Hypolite Petovan 2023-10-07 05:44:24 -04:00
parent 8ac6d0ef04
commit 710f9eecb2
12 changed files with 108 additions and 80 deletions

View file

@ -571,12 +571,9 @@ abstract class DI
return self::$dice->create(Content\Conversation\Factory\Channel::class);
}
/**
* @return Content\Conversation\Factory\UserDefinedChannel
*/
public static function UserDefinedChannelFactory()
public static function userDefinedChannel(): Content\Conversation\Repository\UserDefinedChannel
{
return self::$dice->create(Content\Conversation\Factory\UserDefinedChannel::class);
return self::$dice->create(Content\Conversation\Repository\UserDefinedChannel::class);
}
/**