RecalculateProductVariantsPricesOnOptionValueUpdatedEventListener
in package
implements
PrioritizedEventListener
Class RecalculateProductVariantPriceOnOptionValueUpdatedEventLister
Interfaces, Classes and Traits
- PrioritizedEventListener
- Interface PrioritizedEventListener
Table of Contents
- $recalculateService : RecalculateProductVariantPriceService
- __construct() : mixed
- RecalculateProductVariantsPricesOnOptionValueUpdatedEventListener constructor.
- __invoke() : void
- priority() : int
- Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.
Properties
$recalculateService
private
RecalculateProductVariantPriceService
$recalculateService
Methods
__construct()
RecalculateProductVariantsPricesOnOptionValueUpdatedEventListener constructor.
public
__construct(RecalculateProductVariantPriceService $recalculateService) : mixed
Parameters
- $recalculateService : RecalculateProductVariantPriceService
Return values
mixed —__invoke()
public
__invoke(OptionValueUpdated $event) : void
Parameters
- $event : OptionValueUpdated
Return values
void —priority()
Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.
public
priority() : int