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
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
$eventDispatcher
private
EventDispatcherInterface
$eventDispatcher
$logChronopost
private
array<string|int, string>
$logChronopost
$logService
private
LogService|null
$logService
$parameterBag
private
ParameterBagInterface
$parameterBag
$saleProductService
private
SaleProductService
$saleProductService
$systemAlertService
private
SystemAlertService|null
$systemAlertService
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
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|nulldispatchSaleProductsPreShippedTicketPrintedEvent()
Dispatch ticket printing
private
dispatchSaleProductsPreShippedTicketPrintedEvent(mixed $ticketPrinting) : mixed
Parameters
- $ticketPrinting : mixed
getChronoPdf()
Get chronopost file
private
getChronoPdf(mixed $url) : false|string
Parameters
- $url : mixed