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.

20 satır
695B

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