Logidav Docs

WarehouseProductSyncCommand extends ContainerAwareCommand
in package

Table of Contents

Properties

$defaultName  : mixed
$entityManager  : EntityManagerInterface
$productService  : ProductService

Methods

__construct()  : mixed
configure()  : mixed
execute()  : mixed
executeContainerSync()  : bool
Exécute la synchronisation des arrivées conteneurs
executeWarehouseSync()  : bool
Exécute la synchronisation des stocks entrepôt
getProductsToSync()  : array<string|int, mixed>
Récupère les produits à synchroniser (première commande)
getProductsWithFutureContainerArrivals()  : array<string|int, mixed>
Récupère les produits qui ont des conteneurs qui arrivent à partir de demain (deuxième commande)

Properties

Methods

__construct()

public __construct(EntityManagerInterface $entityManager) : mixed
Parameters
$entityManager : EntityManagerInterface

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface

executeContainerSync()

Exécute la synchronisation des arrivées conteneurs

private executeContainerSync(SymfonyStyle $io[, int|null $limit = null ]) : bool
Parameters
$io : SymfonyStyle
$limit : int|null = null
Return values
bool

executeWarehouseSync()

Exécute la synchronisation des stocks entrepôt

private executeWarehouseSync(SymfonyStyle $io[, int|null $limit = null ]) : bool
Parameters
$io : SymfonyStyle
$limit : int|null = null
Return values
bool

getProductsToSync()

Récupère les produits à synchroniser (première commande)

private getProductsToSync([int|null $limit = null ]) : array<string|int, mixed>
Parameters
$limit : int|null = null
Return values
array<string|int, mixed>

getProductsWithFutureContainerArrivals()

Récupère les produits qui ont des conteneurs qui arrivent à partir de demain (deuxième commande)

private getProductsWithFutureContainerArrivals([int|null $limit = null ]) : array<string|int, mixed>
Parameters
$limit : int|null = null
Return values
array<string|int, mixed>

        
On this page

Search results