You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserUserGroupBuilder.php 562B

123456789101112131415161718192021222324
  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. }