ProductMonitoringCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Table of Contents
Properties
- $container : ContainerInterface|null
- $crawler : Crawler|null
- $entityManager : EntityManagerInterface|null
- $monitoringService : ProductMonitoringService
- $name : null
- $productMonitoringLinkHistoryService : ProductMonitoringLinkHistoryService|null
- $productMonitoringLinksService : ProductMonitoringLinksService|null
- $systemAlertService : SystemAlertService
Methods
- __construct() : mixed
- execute() : mixed
- configure() : mixed
- calculatePercentage() : mixed
- getModel() : string
Properties
$container
private
ContainerInterface|null
$container
$crawler
private
Crawler|null
$crawler
$entityManager
private
EntityManagerInterface|null
$entityManager
$monitoringService
private
ProductMonitoringService
$monitoringService
$name
private
null
$name
$productMonitoringLinkHistoryService
private
ProductMonitoringLinkHistoryService|null
$productMonitoringLinkHistoryService
$productMonitoringLinksService
private
ProductMonitoringLinksService|null
$productMonitoringLinksService
$systemAlertService
private
SystemAlertService
$systemAlertService
Methods
__construct()
public
__construct([mixed $name = null ][, EntityManagerInterface $entityManager = null ][, ContainerInterface $container = null ][, ProductMonitoringService $monitoringService = null ][, Crawler $crawler = null ][, ProductMonitoringLinksService $productMonitoringLinksService = null ][, ProductMonitoringLinkHistoryService $productMonitoringLinkHistoryService = null ][, SystemAlertService $systemAlertService = null ]) : mixed
Parameters
- $name : mixed = null
- $entityManager : EntityManagerInterface = null
- $container : ContainerInterface = null
- $monitoringService : ProductMonitoringService = null
- $crawler : Crawler = null
- $productMonitoringLinksService : ProductMonitoringLinksService = null
- $productMonitoringLinkHistoryService : ProductMonitoringLinkHistoryService = null
- $systemAlertService : SystemAlertService = null
execute()
public
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
configure()
protected
configure() : mixed
calculatePercentage()
private
calculatePercentage(mixed $menzzoPrice, mixed $webSitePrice) : mixed
Parameters
- $menzzoPrice : mixed
- $webSitePrice : mixed
getModel()
private
getModel(string $model) : string
Parameters
- $model : string