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

21 行
538B

  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\Ticket;
  3. use Lc\CaracoleBundle\Model\Ticket\TicketModel;
  4. use Lc\SovBundle\Solver\Ticket\TicketSolver as SovTicketSolver;
  5. class TicketSolver extends SovTicketSolver
  6. {
  7. public function getTypeChoices($context = 'backend'): array
  8. {
  9. $choices = parent::getTypeChoices($context);
  10. $choicesProduct = [
  11. TicketModel::TYPE_PRODUCT_UNAVAILABLE,
  12. TicketModel::TYPE_PRODUCT_ERROR
  13. ];
  14. return array_merge($choices, $choicesProduct);
  15. }
  16. }