OnGetSellingUnitModelEventListener
in package
Class OnGetSellingUnitModelEventListener
Table of Contents
- $service : ReadServiceInterface
- __construct() : mixed
- OnGetSellingUnitModelEventListener constructor.
- __invoke() : OnGetSellingUnitModelEvent
- modelDto() : AttributesModelDto
Properties
$service
protected
ReadServiceInterface
$service
Methods
__construct()
OnGetSellingUnitModelEventListener constructor.
public
__construct(ReadServiceInterface $service) : mixed
Parameters
- $service : ReadServiceInterface
Return values
mixed —__invoke()
public
__invoke(OnGetSellingUnitModelEvent $event) : OnGetSellingUnitModelEvent
Parameters
- $event : OnGetSellingUnitModelEvent
Return values
OnGetSellingUnitModelEvent —modelDto()
protected
modelDto(ModifierIdentifierInterface $modifier, ProductId $productId) : AttributesModelDto
Parameters
- $modifier : ModifierIdentifierInterface
- $productId : ProductId