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

22 行
779B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Reminder;
  3. use Lc\CaracoleBundle\Controller\AdminControllerTrait;
  4. use Lc\CaracoleBundle\Factory\Reminder\ReminderFactory;
  5. use Lc\SovBundle\Controller\Reminder\ReminderAdminController as SovReminderAdminController;
  6. class ReminderAdminController extends SovReminderAdminController
  7. {
  8. use AdminControllerTrait;
  9. public function createEntity(string $crudAction = null, string $crudControllerFqcn = null, int $entityId = null)
  10. {
  11. $factory = new ReminderFactory();
  12. return $factory
  13. ->setMerchant($this->get('merchant_resolver')->getCurrent())
  14. ->setSection($this->get('section_resolver')->getCurrent())
  15. ->create($crudAction, $crudControllerFqcn, $entityId);
  16. }
  17. }