|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Lc\CaracoleBundle\Controller\Reminder; |
|
|
namespace Lc\CaracoleBundle\Controller\Reminder; |
|
|
|
|
|
|
|
|
use App\Entity\Reminder\Reminder; |
|
|
|
|
|
use Lc\CaracoleBundle\Controller\AdminControllerTrait; |
|
|
use Lc\CaracoleBundle\Controller\AdminControllerTrait; |
|
|
use Lc\CaracoleBundle\Factory\Reminder\ReminderFactory; |
|
|
|
|
|
use Lc\CaracoleBundle\Resolver\MerchantResolver; |
|
|
use Lc\CaracoleBundle\Resolver\MerchantResolver; |
|
|
use Lc\CaracoleBundle\Resolver\SectionResolver; |
|
|
use Lc\CaracoleBundle\Resolver\SectionResolver; |
|
|
use Lc\SovBundle\Container\Reminder\ReminderContainer; |
|
|
|
|
|
use Lc\SovBundle\Controller\Reminder\ReminderAdminController as SovReminderAdminController; |
|
|
use Lc\SovBundle\Controller\Reminder\ReminderAdminController as SovReminderAdminController; |
|
|
|
|
|
|
|
|
class ReminderAdminController extends SovReminderAdminController |
|
|
class ReminderAdminController extends SovReminderAdminController |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function createEntity(string $crudAction = null, string $crudControllerFqcn = null, int $entityId = null) |
|
|
public function createEntity(string $crudAction = null, string $crudControllerFqcn = null, int $entityId = null) |
|
|
{ |
|
|
{ |
|
|
return $this->get(ReminderContainer::class) |
|
|
|
|
|
|
|
|
return $this->getReminderContainer() |
|
|
->getFactory() |
|
|
->getFactory() |
|
|
->setMerchant($this->get(MerchantResolver::class)->getCurrent()) |
|
|
->setMerchant($this->get(MerchantResolver::class)->getCurrent()) |
|
|
->setSection($this->get(SectionResolver::class)->getCurrent()) |
|
|
->setSection($this->get(SectionResolver::class)->getCurrent()) |