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.

21 lines
500B

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