Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

TicketAdminController.php 550B

pirms 3 gadiem
pirms 3 gadiem
12345678910111213141516171819
  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Ticket;
  3. use EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore;
  4. use Lc\CaracoleBundle\Controller\AdminControllerTrait;
  5. use Lc\SovBundle\Controller\Ticket\TicketAdminController as SovTicketAdminController;
  6. class TicketAdminController extends SovTicketAdminController
  7. {
  8. use AdminControllerTrait;
  9. public function createEntityFromFactory()
  10. {
  11. return $this->ticketFactory
  12. ->setMerchant($this->get('merchant_resolver')->getCurrent())
  13. ->create();
  14. }
  15. }