您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TicketAdminController.php 550B

3 年前
3 年前
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. }