ImportProductsFromApiCommand
extends ContainerAwareCommand
in package
Table of Contents
Properties
- $cmpAcpi : CmpApi|null
- $cmpProductService : ProductService
- $entityManager : EntityManagerInterface|null
- $eventDispatcher : EventDispatcherInterface|null
- $queueService : QueueService|null
Methods
- __construct() : mixed
- configure() : mixed
- Configure command
- execute() : mixed
- sendSales() : mixed
Properties
$cmpAcpi
private
CmpApi|null
$cmpAcpi
$cmpProductService
private
ProductService
$cmpProductService
$entityManager
private
EntityManagerInterface|null
$entityManager
$eventDispatcher
private
EventDispatcherInterface|null
$eventDispatcher
$queueService
private
QueueService|null
$queueService
Methods
__construct()
public
__construct([mixed $name = null ][, CmpApi $cmpAcpi = null ][, EntityManagerInterface $entityManager = null ][, QueueService $queueService = null ][, EventDispatcherInterface $eventDispatcher = null ][, ProductService $cmpProductService = null ]) : mixed
Parameters
- $name : mixed = null
- $cmpAcpi : CmpApi = null
- $entityManager : EntityManagerInterface = null
- $queueService : QueueService = null
- $eventDispatcher : EventDispatcherInterface = null
- $cmpProductService : ProductService = null
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
sendSales()
private
sendSales() : mixed