ProductQtyStatCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
FinalYes
Class ProductQtyStatCommand
Table of Contents
Properties
- $entityManager : EntityManagerInterface
- $productQtyStatService : ProductQtyStatService
Methods
- __construct() : mixed
- ProductQtyStatCommand constructor.
- configure() : mixed
- Configure command
- execute() : int|null
- fillOldLogs() : mixed
- getSalesByDateAndIds() : array<string|int, mixed>|null
Properties
$entityManager
private
EntityManagerInterface
$entityManager
$productQtyStatService
private
ProductQtyStatService
$productQtyStatService
Methods
__construct()
ProductQtyStatCommand constructor.
public
__construct([null $name = null ][, ProductQtyStatService|null $productQtyStatService = null ], EntityManagerInterface $entityManager) : mixed
Parameters
- $name : null = null
- $productQtyStatService : ProductQtyStatService|null = null
- $entityManager : EntityManagerInterface
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|nullfillOldLogs()
private
fillOldLogs() : mixed
getSalesByDateAndIds()
private
getSalesByDateAndIds(mixed $dateTime, mixed $ids) : array<string|int, mixed>|null
Parameters
- $dateTime : mixed
- $ids : mixed