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.

TicketBuilder.php 500B

pirms 3 gadiem
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\CaracoleBundle\Builder\Ticket;
  3. use Lc\SovBundle\Model\Ticket\TicketInterface;
  4. use Lc\SovBundle\Builder\Ticket\TicketBuilder as SovTicketBuilder;
  5. class TicketBuilder extends SovTicketBuilder
  6. {
  7. public function init(TicketInterface $ticket, array $params = []): void
  8. {
  9. parent::init($ticket, $params);
  10. $ticket->setSection($params['section']);
  11. if(isset($data['orderShop'])) {
  12. $ticket->setOrderShop($data['orderShop']);
  13. }
  14. }
  15. }