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 line
516B

  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Ticket;
  3. use Lc\CaracoleBundle\Controller\ControllerTrait;
  4. use Lc\SovBundle\Controller\Ticket\TicketAdminController as SovTicketAdminController;
  5. abstract class TicketAdminController extends SovTicketAdminController
  6. {
  7. use ControllerTrait;
  8. public function createEntity(string $entityFqcn)
  9. {
  10. return $this->getTicketContainer()
  11. ->getFactory()
  12. ->setSection($this->getSectionCurrent())
  13. ->create();
  14. }
  15. }