ProductPriceUpdateProcessor
in package
implements
QueueProcessorInterface
Class ProductPriceUpdateProcessor
Table of Contents
Interfaces
- QueueProcessorInterface
- Interface QueueProcessorInterface
Properties
- $container : ContainerInterface
- $productApi : ProductApi
- $productService : ProductService
- $rabbitMqService : RabbitMqService
- $useApiInsteadOfRabbitMq : mixed
Methods
- __construct() : mixed
- ProductPriceUpdateProcessor constructor.
- execute() : mixed
- Execute the process
Properties
$container
private
ContainerInterface
$container
$productApi
private
ProductApi
$productApi
$productService
private
ProductService
$productService
$rabbitMqService
private
RabbitMqService
$rabbitMqService
$useApiInsteadOfRabbitMq
private
mixed
$useApiInsteadOfRabbitMq
= true
Methods
__construct()
ProductPriceUpdateProcessor constructor.
public
__construct(ContainerInterface $container, RabbitMqService $rabbitMqService) : mixed
Parameters
- $container : ContainerInterface
- $rabbitMqService : RabbitMqService
execute()
Execute the process
public
execute(array<string|int, mixed> $queues) : mixed
Parameters
- $queues : array<string|int, mixed>