ProductContainerStockValue20210331Command
extends ContainerAwareCommand
in package
uses
LockableTrait
FinalYes
Class ProductContainerStockValueCommand
Table of Contents
Properties
- $_productContainerStockValueService : ProductContainerStockValue20210331Service
- $currencyService : CurrencyService|null
- $dbConnection : Connection
- $em : EntityManagerInterface
Methods
- __construct() : mixed
- ProductContainerStockValue20210331Command constructor.
- configure() : mixed
- Configure command
- execute() : mixed
- getContainerForProduct() : array<string|int, mixed>
- get Container for product
- getProductSaleQty() : array<string|int, mixed>
- get Container for product
Properties
$_productContainerStockValueService
private
ProductContainerStockValue20210331Service
$_productContainerStockValueService
$currencyService
private
CurrencyService|null
$currencyService
$dbConnection
private
Connection
$dbConnection
$em
private
EntityManagerInterface
$em
Methods
__construct()
ProductContainerStockValue20210331Command constructor.
public
__construct([null $name = null ], ProductContainerStockValue20210331Service $productContainerStockValueService) : mixed
Parameters
- $name : null = null
- $productContainerStockValueService : ProductContainerStockValue20210331Service
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
getContainerForProduct()
get Container for product
private
getContainerForProduct() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getProductSaleQty()
get Container for product
private
getProductSaleQty(mixed $productId) : array<string|int, mixed>
Parameters
- $productId : mixed