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

26 行
745B

  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Reminder;
  3. use Lc\CaracoleBundle\Factory\MerchantFactoryTrait;
  4. use Lc\CaracoleBundle\Factory\SectionFactoryTrait;
  5. use Lc\SovBundle\Factory\Reminder\ReminderFactory as SovReminderFactory;
  6. use Lc\SovBundle\Model\Reminder\ReminderInterface;
  7. class ReminderFactory extends SovReminderFactory
  8. {
  9. use MerchantFactoryTrait;
  10. use SectionFactoryTrait;
  11. public function create(string $crudAction = null, string $crudControllerFqcn = null, int $entityId = null): ReminderInterface
  12. {
  13. $reminder = parent::create($crudAction, $crudControllerFqcn, $entityId);
  14. $reminder->setMerchant($this->merchant) ;
  15. $reminder->setSection($this->section) ;
  16. return $reminder;
  17. }
  18. }