ProductSaleStockCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Class ProductSaleStockCommand
Table of Contents
Properties
Methods
- getStockByDate() : int
- Get stock by date
- getStockByPrice() : float
- Get price by date
- configure() : mixed
- execute() : int|null
- getProducts() : mixed
Properties
$limit
private
mixed
$limit
= 100
$page
private
mixed
$page
= 1
Methods
getStockByDate()
Get stock by date
public
getStockByDate(mixed $id, mixed $period) : int
Parameters
- $id : mixed
- $period : mixed
Tags
Return values
intgetStockByPrice()
Get price by date
public
getStockByPrice(mixed $id, mixed $period) : float
Parameters
- $id : mixed
- $period : mixed
Tags
Return values
floatconfigure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|nullgetProducts()
private
getProducts(mixed $output) : mixed
Parameters
- $output : mixed