|
12345678910111213141516171819 |
- <?php
-
- namespace Lc\CaracoleBundle\Controller\Ticket;
-
- use EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore;
- use Lc\CaracoleBundle\Controller\AdminControllerTrait;
- use Lc\SovBundle\Controller\Ticket\TicketAdminController as SovTicketAdminController;
-
- class TicketAdminController extends SovTicketAdminController
- {
- use AdminControllerTrait;
-
- public function createEntityFromFactory()
- {
- return $this->ticketFactory
- ->setMerchant($this->get('merchant_resolver')->getCurrent())
- ->create();
- }
- }
|