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.

23 lines
488B

  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\User;
  3. use Lc\CaracoleBundle\Factory\MerchantFactoryTrait;
  4. use Lc\SovBundle\Model\User\GroupUserInterface;
  5. use Lc\SovBundle\Factory\User\GroupUserFactory as SovGroupUserFactory;
  6. class GroupUserFactory extends SovGroupUserFactory
  7. {
  8. use MerchantFactoryTrait;
  9. public function create(): GroupUserInterface
  10. {
  11. $groupUser = parent::create();
  12. $groupUser->setMerchant($this->merchant);
  13. return $groupUser;
  14. }
  15. }