- <?php
-
- namespace Lc\CaracoleBundle\Controller\Ticket;
-
- use Lc\CaracoleBundle\Controller\ControllerTrait;
- use Lc\SovBundle\Controller\Ticket\TicketAdminController as SovTicketAdminController;
-
- abstract class TicketAdminController extends SovTicketAdminController
- {
- use ControllerTrait;
-
- public function createEntity(string $entityFqcn)
- {
- return $this->getTicketContainer()
- ->getFactory()
- ->setSection($this->getSectionCurrent())
- ->create();
- }
- }
|