Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

26 rindas
645B

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