OnGetSellingUnitAvailableQuantityListener
extends AbstractPrioritizedEventListener
in package
Class OnGetSellingUnitAvailableQuantityListener
Table of Contents
- PRIORITY = self::PRIORITY_NORMAL
- $quantityService : PropertyQuantityReadServiceInterface
- __construct() : mixed
- OnGetSellingUnitQuantityListener constructor.
- __invoke() : OnGetSellingUnitAvailableQuantityEventInterface
- priority() : int
- Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.
Constants
PRIORITY
public
mixed
PRIORITY
= self::PRIORITY_NORMAL
Properties
$quantityService
protected
PropertyQuantityReadServiceInterface
$quantityService
Methods
__construct()
OnGetSellingUnitQuantityListener constructor.
public
__construct(PropertyQuantityReadServiceInterface $service) : mixed
Parameters
- $service : PropertyQuantityReadServiceInterface
Return values
mixed —__invoke()
public
__invoke(OnGetSellingUnitAvailableQuantityEventInterface $event) : OnGetSellingUnitAvailableQuantityEventInterface
Parameters
Return values
OnGetSellingUnitAvailableQuantityEventInterface —priority()
Returns the priority of this event listener. The higher the returned value, the earlier it will be executed.
public
priority() : int