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

21 行
629B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\User;
  3. use Lc\CaracoleBundle\Controller\AdminControllerTrait;
  4. use Lc\CaracoleBundle\Factory\User\GroupUserFactory;
  5. use Lc\SovBundle\Controller\User\GroupUserAdminController as SovGroupUserAdminController;
  6. abstract class GroupUserAdminController extends SovGroupUserAdminController
  7. {
  8. use AdminControllerTrait;
  9. public function createEntity(string $entityFqcn)
  10. {
  11. $factory = new GroupUserFactory();
  12. $currentMerchant = $this->get('merchant_resolver')->getCurrent();
  13. $factory->setMerchant($currentMerchant);
  14. return $factory->create();
  15. }
  16. }