TatiSynchronizeOrdersCommand
extends ContainerAwareCommand
in package
Class SyncOrdersCommand
Table of Contents
Properties
- $source : string
- $token : string
- $container : ContainerInterface
- $entityManager : EntityManagerInterface|null
- $logService : LogServiceInterface|null
- $productService : ProductService
- $SalePrestoService : SalePrestoService
- $saleProductService : SaleProductService
- $tatiService : TatiService
Methods
- __construct() : mixed
- SyncOrdersCommand constructor.
- configure() : mixed
- Configure command
- execute() : int|void|null
- switchOrdersToProcessing() : mixed
Properties
$source
protected
string
$source
= 'Menzzo'
$token
protected
string
$token
= ''
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface|null
$entityManager
$logService
private
LogServiceInterface|null
$logService
$productService
private
ProductService
$productService
$SalePrestoService
private
SalePrestoService
$SalePrestoService
$saleProductService
private
SaleProductService
$saleProductService
$tatiService
private
TatiService
$tatiService
Methods
__construct()
SyncOrdersCommand constructor.
public
__construct([null $name = null ][, ContainerInterface|null $container = null ][, EntityManagerInterface|null $entityManager = null ][, LogServiceInterface|null $logService = null ][, TatiService|null $tatiService = null ][, SaleProductService $saleProductService = null ][, ProductService $productService = null ][, SalePrestoService $salePrestoService = null ]) : mixed
Parameters
- $name : null = null
- $container : ContainerInterface|null = null
- $entityManager : EntityManagerInterface|null = null
- $logService : LogServiceInterface|null = null
- $tatiService : TatiService|null = null
- $saleProductService : SaleProductService = null
- $productService : ProductService = null
- $salePrestoService : SalePrestoService = null
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|void|nullswitchOrdersToProcessing()
private
switchOrdersToProcessing(mixed $orderIds) : mixed
Parameters
- $orderIds : mixed