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 satır
550B

  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. }