您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
562B

  1. <?php
  2. namespace common\logic\User\UserUserGroup\Service;
  3. use common\logic\AbstractBuilder;
  4. use common\logic\User\UserUserGroup\Model\UserUserGroup;
  5. class UserUserGroupBuilder extends AbstractBuilder
  6. {
  7. public function instanciateUserUserGroup(): UserUserGroup
  8. {
  9. $userUserGroup = new UserUserGroup();
  10. return $userUserGroup;
  11. }
  12. public function createUserUserGroup(): UserUserGroup
  13. {
  14. $userUserGroup = $this->instanciateUserUserGroup();
  15. $this->saveCreate($userUserGroup);
  16. return $userUserGroup;
  17. }
  18. }