ProductCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
FinalYes
Class ProductCommand
Table of Contents
Properties
- $dbConnection : mixed
- $em : EntityManager
- $firstRun : mixed
- $limit : int
- $output : OutputInterface
- $page : mixed
- $productApi : ProductApi|object
- $systemAlertService : SystemAlertService|null
Methods
- __construct() : mixed
- ProductCommand constructor.
- getLogidavId() : int
- getProducts() : mixed
- Get products for logidav
- getProductsFast() : mixed
- getProductsOnlyCategories() : mixed
- getProductsStoreData() : mixed
- Get product store data
- configure() : mixed
- Configure command
- execute() : mixed
Properties
$dbConnection
protected
mixed
$dbConnection
Tags
$em
protected
EntityManager
$em
$firstRun
protected
mixed
$firstRun
= 0
Tags
$limit
protected
int
$limit
= 300
$output
protected
OutputInterface
$output
$page
protected
mixed
$page
= 1
Tags
$productApi
protected
ProductApi|object
$productApi
$systemAlertService
private
SystemAlertService|null
$systemAlertService
Methods
__construct()
ProductCommand constructor.
public
__construct([null $name = null ][, SystemAlertService|null $systemAlertService = null ]) : mixed
Parameters
- $name : null = null
- $systemAlertService : SystemAlertService|null = null
getLogidavId()
public
getLogidavId(mixed $item) : int
Parameters
- $item : mixed
Return values
intgetProducts()
Get products for logidav
public
getProducts(mixed $output, mixed $input) : mixed
Parameters
- $output : mixed
- $input : mixed
Tags
getProductsFast()
public
getProductsFast(mixed $output, mixed $input) : mixed
Parameters
- $output : mixed
- $input : mixed
getProductsOnlyCategories()
public
getProductsOnlyCategories(mixed $output) : mixed
Parameters
- $output : mixed
getProductsStoreData()
Get product store data
public
getProductsStoreData(mixed $productIds, mixed $productsData) : mixed
Parameters
- $productIds : mixed
- $productsData : mixed
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface