PrintTicketsCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Class PrintTicketsCommand
Table of Contents
Properties
- $logService : LogService|null
- $pdfService : PdfService
- $shipmentService : ShipmentService|null
- $virService : mixed
Methods
- __construct() : mixed
- addOrderToVir() : void
- generateTicketPdfVir() : array<string|int, mixed>
- configure() : mixed
- Configure command
- execute() : int|null
Properties
$logService
private
LogService|null
$logService
$pdfService
private
PdfService
$pdfService
$shipmentService
private
ShipmentService|null
$shipmentService
$virService
private
mixed
$virService
Tags
Methods
__construct()
public
__construct([null $name = null ][, VirService|null $virService = null ][, ShipmentService|null $shipmentService = null ]) : mixed
Parameters
- $name : null = null
- $virService : VirService|null = null
- $shipmentService : ShipmentService|null = null
addOrderToVir()
public
addOrderToVir(mixed $exportFile, mixed $order, mixed $nbTotalForOrder, mixed $siret) : void
Parameters
- $exportFile : mixed
- $order : mixed
- $nbTotalForOrder : mixed
- $siret : mixed
generateTicketPdfVir()
public
generateTicketPdfVir(mixed $saleProduct, mixed $order, mixed $path, mixed $colisNumber, mixed $siretVir) : array<string|int, mixed>
Parameters
- $saleProduct : mixed
- $order : mixed
- $path : mixed
- $colisNumber : mixed
- $siretVir : mixed
Tags
Return values
array<string|int, mixed>configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface