UpdateDropAndDepotPriceCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Class UpdateDropAndDepotPriceCommand
Table of Contents
Properties
- $connection : Connection
- $em : EntityManagerInterface|null
- $entityManager : EntityManagerInterface|null
- $output : OutputInterface
- $queueService : QueueServiceInterface
- $recipients : mixed
- $user : mixed
Methods
- __construct() : mixed
- UpdateDropAndDepotPriceCommand constructor.
- configure() : mixed
- execute() : int|void|null
- updateAuto() : mixed
- updateByFile() : mixed
- update Prices by file
Properties
$connection
private
Connection
$connection
$em
private
EntityManagerInterface|null
$em
$entityManager
private
EntityManagerInterface|null
$entityManager
$output
private
OutputInterface
$output
$queueService
private
QueueServiceInterface
$queueService
$recipients
private
mixed
$recipients
= ['mohamed.bouzoumita@axelites.com']
$user
private
mixed
$user
Methods
__construct()
UpdateDropAndDepotPriceCommand constructor.
public
__construct([null $name = null ][, EntityManagerInterface|null $entityManager = null ][, QueueServiceInterface|null $queueService = null ]) : mixed
Parameters
- $name : null = null
- $entityManager : EntityManagerInterface|null = null
- $queueService : QueueServiceInterface|null = null
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
int|void|nullupdateAuto()
protected
updateAuto() : mixed
updateByFile()
update Prices by file
protected
updateByFile() : mixed