Logidav Docs

SyncStockCommand extends ContainerAwareCommand
in package

Table of Contents

Constants

FEED_URL  = 'https://feeds.datafeedwatch.com/85466/aefa02d5c271f0a62ead7066004ccbbf48c5788d.xml'

Properties

$entityManager  : mixed
$productService  : object
$user  : mixed

Methods

__construct()  : mixed
configure()  : mixed
execute()  : int
processProduct()  : array<string|int, mixed>

Constants

FEED_URL

public mixed FEED_URL = 'https://feeds.datafeedwatch.com/85466/aefa02d5c271f0a62ead7066004ccbbf48c5788d.xml'

Properties

Methods

__construct()

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

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

processProduct()

private processProduct(Product $product, mixed $status, mixed $qty) : array<string|int, mixed>
Parameters
$product : Product
$status : mixed
$qty : mixed
Return values
array<string|int, mixed>

        
On this page

Search results