class ChangedPriceErpSyncListener

Class ChangedPriceErpSyncListener is injected as empire_changed_price_plugin.erp.event_listener service. ChangedPriceErpSyncListener is listener class for handling a logic for dispatched events

Methods

__construct(string $rootDir, ChangedPriceManager $manager, EventDispatcherInterface $dispatcher)

ProductRelationshipErpSyncListener constructor.

doSync()

Call doChangePriceSync.sh script, which sync watchlist with erp

Details

at line 39
__construct(string $rootDir, ChangedPriceManager $manager, EventDispatcherInterface $dispatcher)

ProductRelationshipErpSyncListener constructor.

Parameters

string $rootDir
ChangedPriceManager $manager
EventDispatcherInterface $dispatcher

at line 49
doSync()

Call doChangePriceSync.sh script, which sync watchlist with erp