SystemAlertCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Class CompareSaleProductImported
Table of Contents
Properties
- $entityManager : EntityManagerInterface
- $logService : LogServiceInterface
- $orderService : OrderService
Methods
- __construct() : mixed
- configure() : mixed
- execute() : int|null
- checkForCanceledVidaxlOrders() : mixed
- checkForNewCriticalIssues() : mixed
- Check for new ciritcal issues and send email
- compareSales() : mixed
- Compare sales and check if there's a problem
- sendEmailNewCriticalError() : mixed
Properties
$entityManager
private
EntityManagerInterface
$entityManager
$logService
private
LogServiceInterface
$logService
$orderService
private
OrderService
$orderService
Methods
__construct()
public
__construct([null $name = null ][, OrderService $orderService = null ][, EntityManagerInterface $entityManager = null ][, LogServiceInterface $logService = null ]) : mixed
Parameters
- $name : null = null
- $orderService : OrderService = null
- $entityManager : EntityManagerInterface = null
- $logService : LogServiceInterface = null
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|nullcheckForCanceledVidaxlOrders()
private
checkForCanceledVidaxlOrders() : mixed
checkForNewCriticalIssues()
Check for new ciritcal issues and send email
private
checkForNewCriticalIssues() : mixed
compareSales()
Compare sales and check if there's a problem
private
compareSales() : mixed
Tags
sendEmailNewCriticalError()
private
sendEmailNewCriticalError(mixed $rows) : mixed
Parameters
- $rows : mixed