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

GroupUserFactory.php 417B

3 年前
3 年前
12345678910111213141516171819
  1. <?php
  2. namespace Lc\SovBundle\Factory\User;
  3. use App\Entity\User\GroupUser;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\User\GroupUserInterface;
  6. class GroupUserFactory extends AbstractFactory implements GroupUserFactoryInterface
  7. {
  8. public function create(): GroupUserInterface
  9. {
  10. $groupUser = new GroupUser();
  11. $groupUser->setStatus(1);
  12. return $groupUser;
  13. }
  14. }