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.

GroupUserFactory.php 487B

3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\SovBundle\Factory\User;
  3. use Lc\SovBundle\Container\User\GroupUserContainer;
  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. $class = GroupUserContainer::getEntityFqcn();
  11. $groupUser = new $class;
  12. $groupUser->setStatus(1);
  13. return $groupUser;
  14. }
  15. }