UpdateProductPricesItDeFromCsvCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
FinalYes
Class UpdateProductPricesItDeFromCsvCommand
Table of Contents
Properties
- $dbConnection : mixed
- $em : EntityManager
- $firstRun : mixed
- $limit : int
- $output : OutputInterface
- $page : mixed
- $productApi : ProductApi|object
- $queueService : QueueServiceInterface
- $systemAlertService : SystemAlertService|null
Methods
- __construct() : mixed
- ProductCommand constructor.
- getProductIds() : mixed
- configure() : mixed
- Configure command
- execute() : mixed
- getnewItPricesFromFr() : mixed
Properties
$dbConnection
protected
mixed
$dbConnection
Tags
$em
protected
EntityManager
$em
$firstRun
protected
mixed
$firstRun
= 0
Tags
$limit
protected
int
$limit
= 500
$output
protected
OutputInterface
$output
$page
protected
mixed
$page
= 1
Tags
$productApi
protected
ProductApi|object
$productApi
$queueService
private
QueueServiceInterface
$queueService
$systemAlertService
private
SystemAlertService|null
$systemAlertService
Methods
__construct()
ProductCommand constructor.
public
__construct([null $name = null ][, SystemAlertService|null $systemAlertService = null ][, QueueServiceInterface $queueService = null ]) : mixed
Parameters
- $name : null = null
- $systemAlertService : SystemAlertService|null = null
- $queueService : QueueServiceInterface = null
getProductIds()
public
getProductIds() : mixed
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
getnewItPricesFromFr()
protected
getnewItPricesFromFr() : mixed