Logidav Docs

PrintChronopostTicketsCommand extends ContainerAwareCommand
in package
uses LockableTrait

Class PrintChronopostTicketsCommand

Table of Contents

Properties

$container  : ContainerInterface
$entityManager  : EntityManagerInterface
$eventDispatcher  : EventDispatcherInterface
$logChronopost  : array<string|int, string>
$logService  : LogService|null
$parameterBag  : ParameterBagInterface
$saleProductService  : SaleProductService
$systemAlertService  : SystemAlertService|null

Methods

__construct()  : mixed
PrintChronopostTicketsCommand constructor.
configure()  : mixed
Configure command
execute()  : int|null
dispatchSaleProductsPreShippedTicketPrintedEvent()  : mixed
Dispatch ticket printing
getChronoPdf()  : false|string
Get chronopost file

Properties

Methods

__construct()

PrintChronopostTicketsCommand constructor.

public __construct([null $name = null ][, LogService|null $logService = null ][, EntityManagerInterface|null $entityManager = null ][, ParameterBagInterface|null $parameterBag = null ][, ContainerInterface|null $container = null ][, SystemAlertService|null $systemAlertService = null ][, EventDispatcherInterface $eventDispatcher = null ]) : mixed
Parameters
$name : null = null
$logService : LogService|null = null
$entityManager : EntityManagerInterface|null = null
$parameterBag : ParameterBagInterface|null = null
$container : ContainerInterface|null = null
$systemAlertService : SystemAlertService|null = null
$eventDispatcher : EventDispatcherInterface = null

execute()

protected execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
$input : InputInterface
$output : OutputInterface
Tags
throws
DBALException
Return values
int|null

dispatchSaleProductsPreShippedTicketPrintedEvent()

Dispatch ticket printing

private dispatchSaleProductsPreShippedTicketPrintedEvent(mixed $ticketPrinting) : mixed
Parameters
$ticketPrinting : mixed

getChronoPdf()

Get chronopost file

private getChronoPdf(mixed $url) : false|string
Parameters
$url : mixed
Return values
false|string

        
On this page

Search results