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.

23 rindas
572B

  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Ticket;
  3. use Lc\CaracoleBundle\Context\MerchantContextTrait;
  4. use Lc\CaracoleBundle\Context\SectionContextTrait;
  5. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  6. use Lc\SovBundle\Factory\Ticket\TicketFactory as SovTicketFactory;
  7. use Lc\SovBundle\Model\Ticket\TicketInterface;
  8. class TicketFactory extends SovTicketFactory
  9. {
  10. use MerchantContextTrait;
  11. public function create(): TicketInterface
  12. {
  13. $ticket = parent::create();
  14. $ticket->setMerchant($this->merchant);
  15. return $ticket;
  16. }
  17. }