UpdateProductCommand
extends ContainerAwareCommand
in package
Table of Contents
Properties
- $_logProduct : mixed
- $connection : Connection
- $attributeService : AttributeService
- $entityManager : EntityManagerInterface
- $name : null
- $newProductService : NewProductService
- $newProductStatService : mixed
- $productApi : mixed
Methods
- __construct() : mixed
- CreateProductCommand constructor.
- uploadFileByAttributeCode() : mixed
- configure() : mixed
- execute() : int|void|null
Properties
$_logProduct
public
mixed
$_logProduct
= []
$connection
protected
Connection
$connection
$attributeService
private
AttributeService
$attributeService
$entityManager
private
EntityManagerInterface
$entityManager
$name
private
null
$name
$newProductService
private
NewProductService
$newProductService
$newProductStatService
private
mixed
$newProductStatService
$productApi
private
mixed
$productApi
Methods
__construct()
CreateProductCommand constructor.
public
__construct([null $name = null ][, EntityManagerInterface|null $entityManager = null ][, NewProductService|null $newProductService = null ][, AttributeService|null $attributeService = null ][, NewProductStatService|null $newProductStatService = null ]) : mixed
Parameters
- $name : null = null
- $entityManager : EntityManagerInterface|null = null
- $newProductService : NewProductService|null = null
- $attributeService : AttributeService|null = null
- $newProductStatService : NewProductStatService|null = null
uploadFileByAttributeCode()
public
uploadFileByAttributeCode(mixed $produInfo, mixed $attributeCode) : mixed
Parameters
- $produInfo : mixed
- $attributeCode : mixed
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface