ProductWidgetOutputCommand
in package
Class ProductWidgetOutputCommand
Table of Contents
- $commandConfiguration : ProductWidgetCommandConfiguration
- $contentView : ProductsSwiperThemeContentView
- $productId : IdType
- $productService : ProductReadService
- __construct() : mixed
- ProductWidgetOutputCommand constructor.
- execute() : mixed|string
- createShippingTimeFromRange() : string
Properties
$commandConfiguration
protected
ProductWidgetCommandConfiguration
$commandConfiguration
$contentView
protected
ProductsSwiperThemeContentView
$contentView
$productId
protected
IdType
$productId
$productService
protected
ProductReadService
$productService
Methods
__construct()
ProductWidgetOutputCommand constructor.
public
__construct(IdType $productId, ProductWidgetCommandConfiguration $commandConfiguration[, ProductReadService $productService = null ]) : mixed
Parameters
- $productId : IdType
- $commandConfiguration : ProductWidgetCommandConfiguration
- $productService : ProductReadService = null
Return values
mixed —execute()
public
execute() : mixed|string
Return values
mixed|string —createShippingTimeFromRange()
protected
createShippingTimeFromRange(array<string|int, mixed> $range) : string
Parameters
- $range : array<string|int, mixed>