phpDocumentor

ModifierHtmlGenerator

Class ModifierHtmlGenerator

Table of Contents

$selectedQuantity  : QuantityInterface
$sellingUnitStock  : SellingUnitStockInterface
$values  : array<string|int, AttributeNameAndValueDTO>
$isAttributeStockCheckActive  : bool
$outOfStockMarkings  : OutOfStockMarkings
__construct()  : mixed
ModifierHtmlGenerator constructor.
addDto()  : void
toHtml()  : string
modifierHasAnInsufficientQuantity()  : bool
quantityHasInsufficientQuantityException()  : bool

Properties

Methods

__construct()

ModifierHtmlGenerator constructor.

public __construct(array<string|int, AttributeNameAndValueDTO$dtos, QuantityInterface $selectedQuantity, SellingUnitStockInterface $sellingUnitStock, OutOfStockMarkings $outOfStockMarkings, bool $isAttributeStockCheckActive) : mixed
Parameters
$dtos : array<string|int, AttributeNameAndValueDTO>
$selectedQuantity : QuantityInterface
$sellingUnitStock : SellingUnitStockInterface
$outOfStockMarkings : OutOfStockMarkings
$isAttributeStockCheckActive : bool
Return values
mixed

quantityHasInsufficientQuantityException()

protected quantityHasInsufficientQuantityException() : bool
Return values
bool

Search results